08.11.2012, 21:53
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == regras)
{
if(response)
{
GameTextForPlayer(playerid,"[X]CONCORDOU, GANHARБ UM PREMIO",3,5000);
GivePlayerMoney(playerid,10000);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
}
else
{
GameTextForPlayer(playerid,"[X]DISCORDOU, TOMARБ KICK[X]",3,5000);
Kick(playerid);
}
}
return 1;
}