26.04.2010, 02:05
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(!strcmp(inputtext, "500", true))
{
GivePlayerMoney(playerid,500);
SendClientMessage(playerid, 0x00FF40AA, "Ganhaste 500$!");
}
else
{
SendClientMessage(playerid, 0x00FF40AA, " Burro nгo ganhaste 500$!");
return 1;
}
}
return 1;
}