Advertisement
Sheders

WhoAcceptRules v1.2

Mar 20th, 2013
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. //Script made by sheders WhoAcceptRules v1.2
  2. //Website: www.xcoper.com
  3. #pragma unused ret_memcpy
  4. #pragma unused strtok
  5.  
  6. #include <a_samp>
  7. #include <dudb>
  8.  
  9. #if defined FILTERSCRIPT
  10.  
  11. #endif
  12.  
  13. public OnPlayerConnect(playerid)
  14. {
  15. 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*");
  16. return 1;
  17. }
  18. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  19. {
  20. if(dialogid == 2)
  21. {
  22. if(response) return SendClientMessage(playerid, 0x24FF0AB9, "Thank you. Have fun!!");
  23. else SendClientMessage(playerid, 0xAA3333AA, "Just quit , you didnt accept!");
  24. Kick( playerid );
  25. }
  26. return 1;
  27. }
  28. //Coming more soon
  29. //Credits sheders *Please dont remove the credits*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement