08.08.2011, 10:47
Quote:
Код:
if(dialogid == 2) { if(response == 1) { if(GetPVarInt(playerid,"RulesAccepted")!=1) { SetPVarInt(playerid,"RulesAccepted",1); SetPlayerScore(playerid, GetPlayerScore(playerid) + 5); GivePlayerMoney(playerid, 50000); SendClientMessage(playerid, COLOR_GREEN, "You Accept The Rules You Recieve $500000 + 5 Score Points"); } else { SendClientMessage(playerid, COLOR_RED, "You Already Accepted The Rules. You DONT Recieve $500000 + 5 Score Points Again!"); } } else { SendClientMessage(playerid, COLOR_RED, "You Ignore The Rules"); SendClientMessage(playerid, COLOR_RED, "You Have Been Kicked!, Reason : Ignoring The Rules"); Kick(playerid); } return 1; } |
![Sad](images/smilies/sad.gif)