29.08.2011, 10:00
(
Последний раз редактировалось doreto; 29.08.2011 в 11:23.
)
PROBLEM FIXED
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_PICKUP)
{
if(response)
{
case 0:
{
SendClientMessage(playerid,-1,"You have get 1000$");
GivePlayerMoney(playerid,1000);
}
case 1:
{
SendClientMessage(playerid,-1,"You have get weapon");
GivePlayerWeapon(playerid,25,100);
}
}
}
return 1;
}