30.10.2015, 02:14
Quote:
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 200)
{
if(response)
{
switch(listitem)
{
case 0:
{
GivePlayerWeapon(playerid, 22, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 28, 1000);
GivePlayerWeapon(playerid, 16, 20);
}
}
}
}
return 1;
}