VIP LOCKER HELP !
#1

Hello this is my already got code

PHP Code:
CMD:viplocker(playeridparams[]) 

    if(!
IsPlayerInRangeOfPoint(playerid3.01416.7363, -1680.076813.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(playerid1DIALOG_STYLE_LIST"VIP Locker""VIP Heal\nVIP Armor\nVIP Weapons""Select""Cancel"); //showing the locker menu. 
    

    return 
1

PHP Code:
switch(dialogid)
{
    case 
1:
    {
        switch(
listitem):
        {
             case 
0//your first item reaction, so in your case, it'd be healing your player.
        
}
    }

PHP Code:
GivePlayerWeapon(playeridweaponidammo); 
I have all of that code but i don't know where to put it and i don't know how to put function on

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

Can u help me

NOTE: i'am a new scripter and all my VIP's want a VIP locker please help me
Reply


Messages In This Thread
VIP LOCKER HELP ! - by ChuckyBabe - 12.03.2014, 09:05
Re : VIP LOCKER HELP ! - by Clad - 12.03.2014, 09:21
Re: VIP LOCKER HELP ! - by ChuckyBabe - 12.03.2014, 09:29
Re : VIP LOCKER HELP ! - by Clad - 12.03.2014, 09:46
Re: VIP LOCKER HELP ! - by ChuckyBabe - 12.03.2014, 09:49
Re : VIP LOCKER HELP ! - by Clad - 12.03.2014, 09:58
Re: VIP LOCKER HELP ! - by ChuckyBabe - 12.03.2014, 10:00
Re : VIP LOCKER HELP ! - by Clad - 12.03.2014, 10:02
Re: VIP LOCKER HELP ! - by ChuckyBabe - 12.03.2014, 10:05
Re : VIP LOCKER HELP ! - by Clad - 12.03.2014, 10:08
Re: VIP LOCKER HELP ! - by ChuckyBabe - 13.03.2014, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)