Advertisement
Guest User

Untitled

a guest
Jan 28th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. #include <a_samp>
  2. #include <core>
  3. #include <float>
  4. #include <streamer>
  5.  
  6. #pragma tabsize 0
  7.  
  8. main(){}
  9.  
  10. public OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z)
  11. {
  12. printf("public OnPlayerShootDynamicObject called");
  13.  
  14. return 1;
  15. }
  16.  
  17. public OnPlayerConnect(playerid)
  18. {
  19. GameTextForPlayer(playerid,"~w~SA-MP: ~r~Bare Script",5000,5);
  20. return 1;
  21. }
  22.  
  23. public OnPlayerSpawn(playerid)
  24. {
  25. SetPlayerInterior(playerid,0);
  26. TogglePlayerClock(playerid,0);
  27. GivePlayerWeapon(playerid, 31, 999);
  28. return 1;
  29. }
  30.  
  31. public OnPlayerDeath(playerid, killerid, reason)
  32. {
  33. return 1;
  34. }
  35.  
  36. SetupPlayerForClassSelection(playerid)
  37. {
  38. SetPlayerInterior(playerid,14);
  39. SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
  40. SetPlayerFacingAngle(playerid, 270.0);
  41. SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
  42. SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
  43. }
  44.  
  45. public OnPlayerRequestClass(playerid, classid)
  46. {
  47. SetupPlayerForClassSelection(playerid);
  48. return 1;
  49. }
  50.  
  51. public OnGameModeInit()
  52. {
  53. SetGameModeText("Bare Script");
  54. ShowPlayerMarkers(1);
  55. ShowNameTags(1);
  56.  
  57. AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  58.  
  59. return 1;
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement