Problem when adding VIP Locker
#1

Hello can someone help me with this problem
Код:
undefined symbol "pGunRes" and undefined symbol "DIALOG_VIP"
Only i got that error when i'm adding /vipgun but /vipheal and /viparmor is fine HELP ME! Tell me what i must be write there?,Help me Get +REP




BTW This my code /vipgun

Код:
CMD:vipgun(playerid, params[])
{
	if (PlayerInfo[playerid][pGunRes]>0)
	{
	    SendClientMessage(playerid, COLOR_GREY, "You're not allowed to take weapons while having gun restriction!");
	    return 1;
	}
    if(PlayerInfo[playerid][pDonator] < 3)
	{
         SendClientMessage(playerid, COLOR_WHITE, "You're not a Gold Donator");
         return 1;
    }
    if(IsPlayerInRangeOfPoint(playerid,3,1139.2238, 175.3508, 8999.2764))
    {
        if(PlayerInfo[playerid][pDonator] >= 3)
            ShowPlayerDialogEx(playerid, DIALOG_VIP, DIALOG_STYLE_LIST, "VIP Guns", "Deagle\nSniper Rifle\nShotgun\nSpas-12\nSword\nUzi\nMP5\nTec-9\nAK-47\nM4-A1\nBaseball Bat\nGolf Club\nSawn-Off            (20 VIPTokens)", "OK", "Cancel");
    }
    else
        SendClientMessage(playerid, COLOR_GRAD1, "You're not in the VIP Lounge!");

    return 1;
}
Reply
#2

NVM pgunRes has been fixed to pDonator only For vip DIALOG HELP ME!
Reply
#3

CLOSE THIS, Already fixed
Reply
#4

#define DIALOG_VIP "Vip Guns" / number howver u defined at top of script
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)