Advertisement
Sheders

WhoAcceptRules v1.0

Mar 20th, 2013
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. //Script made by sheders WhoAcceptRules v1.0
  2. //Website: www.xcoper.com
  3. #pragma unused ret_memcpy
  4. #pragma unused strtok
  5.  
  6. #include <a_samp>
  7. #include <zcmd>
  8. #include <foreach>
  9. #include <dudb>
  10.  
  11. #define FILTERSCRIPT
  12. #if defined FILTERSCRIPT
  13.  
  14. #endif
  15.  
  16. public OnPlayerSpawn(playerid)
  17. {
  18. ShowPlayerDialog(playerid,2,DIALOG_STYLE_MSGBOX,"Accept the rules or quit:","*Dont Advertise*\n*Dont kill other players with out a good reason*\n*Respect our admins and players*\n*Be nice in the chat*\n*Dont use capslock in chat*\n*Dont hack*\n*Dont use any gliches/bugs*\n*And play fair!*","*Accept*","*Quit*");
  19. return 1;
  20. }
  21. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  22. {
  23. if(dialogid == 2)
  24. {
  25. if(response) return SendClientMessage(playerid, 0x24FF0AB9, "Thank you. Have fun!!");
  26. else SendClientMessage(playerid, 0xAA3333AA, "Just quit , you didnt accept!");
  27. Kick( playerid );
  28. }
  29. return 1;
  30. }
  31. //Coming more soon
  32. //Credits sheders *Please dont remove the credits*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement