Dialog on Pickup
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == pickup1)
{
if(response)
{
if(listitem == 0)
{
if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, 0xFFFFFF, "You don't have enough money");
GivePlayerMoney(playerid, -500);
SetVehicleNumberPlate(CreateVehicle(400,1316.2551,-1378.5920,13.8248,178.5096,113,1, 100), inputtext);
}
}
}
return 1;
}
Reply


Messages In This Thread
Dialog on Pickup - by Scofield62 - 29.01.2012, 18:23
Re: Dialog on Pickup - by lamarr007 - 29.01.2012, 18:28
Re: Dialog on Pickup - by Scofield62 - 29.01.2012, 18:45
Re: Dialog on Pickup - by =WoR=Varth - 29.01.2012, 18:47
Re: Dialog on Pickup - by Scofield62 - 29.01.2012, 18:53
Re: Dialog on Pickup - by Littlehelper - 29.01.2012, 18:54
Re: Dialog on Pickup - by Scofield62 - 29.01.2012, 18:57
Re: Dialog on Pickup - by =WoR=Varth - 29.01.2012, 19:02
Re: Dialog on Pickup - by Scofield62 - 29.01.2012, 19:03

Forum Jump:


Users browsing this thread: 5 Guest(s)