31.08.2014, 23:47
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 102)
{
if(response)
{
if(listitem == 0)
{
SetPlayerPos(playerid,2563.8127,2819.5911,27.8203);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,34, 200);
}
if(listitem == 1)
{
SetPlayerPos(playerid,2658.8005,2661.3188,38.0469);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,34, 200);
}
if(listitem == 2)
{
SetPlayerPos(playerid,2717.6606,2772.4148,77.3594);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,34, 200);
}
return 1;
}