07.03.2014, 23:18
Hello,
this is my currently code
And now i don't know how to put function on that
like example if he/she choose VIP Heal he will be fully healed
in armor he/she will get full armor
and VIP weapons if he/she clicked that
another dialog box will be opened
and there is
SPAS-12
M4A1
Sniper
Sawn-Off Shotgun
and other VIP Guns
can someone help me here ? i'am willing to give you +rep
this is my currently code
PHP код:
CMD:viplocker(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 3.0, 1416.7363, -1680.0768, 13.5469)) return SendClientMessage(playerid,-1, "Error: You're not near the locker."); //seeing if a player is in range of x, y, z. If not, send the message.
if(PlayerInfo[playerid][pDonator] > 1) //Checking to see if their a vip. //VIP LOCKER credits to: rangerxll
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "VIP Locker", "VIP Heal\nVIP Armor\nVIP Weapons", "Select", "Cancel"); //showing the locker menu.
}
return 1;
}
like example if he/she choose VIP Heal he will be fully healed
in armor he/she will get full armor
and VIP weapons if he/she clicked that
another dialog box will be opened
and there is
SPAS-12
M4A1
Sniper
Sawn-Off Shotgun
and other VIP Guns
can someone help me here ? i'am willing to give you +rep