daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest May 16th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2.  
  3. main()
  4. {
  5.     print("\n----------------------------------");
  6. }
  7.  
  8. public OnGameModeInit()
  9. {
  10.     // Don't use these lines if it's a filterscript
  11.     SetGameModeText("Blank Script");
  12.     AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  13.     return 1;
  14. }
  15.  
  16. public OnGameModeExit()
  17. {
  18.     return 1;
  19. }
  20.  
  21. public OnPlayerRequestClass(playerid, classid)
  22. {
  23.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  24.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  25.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  26.     return 1;
  27. }
  28.  
  29. public OnPlayerConnect(playerid)
  30. {
  31.     return 1;
  32. }
  33.  
  34. public OnPlayerDisconnect(playerid, reason)
  35. {
  36.     return 1;
  37. }
  38.  
  39. public OnPlayerSpawn(playerid)
  40. {
  41.     return 1;
  42. }
  43.  
  44. public OnPlayerDeath(playerid, killerid, reason)
  45. {
  46.     return 1;
  47. }
  48.  
  49. public OnPlayerCommandText(playerid, cmdtext[])
  50. {
  51.     if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  52.     {
  53.         // Do something here
  54.         return 1;
  55.     }
  56.     return 0;
  57. }
RAW Paste Data
Top