Guest User

Untitled

a guest
Jan 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. #define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11. print("\n--------------------------------------");
  12. print(" Speed Limit By Bally");
  13. print("--------------------------------------\n");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. #else
  23.  
  24. public OnPlayerConnect(playerid)
  25. {
  26. SendClientMessage(playerid, 0xFFFFFFFF, "This Server uses Ballys Speedo watcher");
  27. return 1;
  28. }
  29.  
  30. public OnPlayerDisconnect(playerid, reason)
  31. {
  32. return 1;
  33. }
  34.  
  35. public OnPlayerCommandText(playerid, cmdtext[])
  36.  
  37. {if(!strcmp(command, "/credits", true))
  38. {
  39. SendClientMessage(playerid, 0xFFFFFFFF, "/Speedlimt system By bally for Europeon Trucking");
  40. return 1;
  41. }
  42. {if(!strcmp(command, "/Speedlimits", true))
  43. {
  44. ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"{FF0000}SPEED LIMITS","{FF0000}HIGHWAYS 120KPH\nROADS 90KPH\nCITYS 60KPH","Ok","OK");
  45. return 1;
  46. }
  47. }
  48.  
  49. #endif
Add Comment
Please, Sign In to add comment