21.03.2015, 01:23
Hello can someone help me with this problem
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
Код:
undefined symbol "pGunRes" and undefined symbol "DIALOG_VIP"
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;
}

