Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Script made by sheders WhoAcceptRules v1.2
- //Website: www.xcoper.com
- #pragma unused ret_memcpy
- #pragma unused strtok
- #include <a_samp>
- #include <dudb>
- #if defined FILTERSCRIPT
- #endif
- public OnPlayerConnect(playerid)
- {
- 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*");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 2)
- {
- if(response) return SendClientMessage(playerid, 0x24FF0AB9, "Thank you. Have fun!!");
- else SendClientMessage(playerid, 0xAA3333AA, "Just quit , you didnt accept!");
- Kick( playerid );
- }
- return 1;
- }
- //Coming more soon
- //Credits sheders *Please dont remove the credits*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement