Help with forbidden item
#1

Hello guys I have problem with my VIP command I mean with /jetpack... Actually everything works fine for me but when someone type /jetpack nothing happens and in the server_log file I saw this:
Код:
[17:30:12] [junkbuster] Could not give '[NSG]ShaDoWw' a jetpack because it's forbidden.
I've tried to edit the JunkBuster.cfg but with no result
Reply
#2

Post your /jetpack code and one of your vip code.
Reply
#3

Код:
if(strcmp(cmd, "/jetpack", true) == 0)
	{
		if (PlayerInfo[playerid][pDonateRank] >= 2)
		{
 			GivePlayerGun(playerid, 21);
		}
		else
		{
			SendClientMessage(playerid, COLOR_GRAD1,"ERROR: You are not a VIP");
		}
		return 1;
	}
Here...
Reply
#4

Show forbidden weapons in junkbuster configuration..
Reply
#5

Код:
35
36
37
38
This is in ForbiddenWeapons.cfg
Reply
#6

A jetpack is not a weapon. Check in the main configuration or edit the script.
Reply
#7

So what I need to enable the jetpack?
Reply
#8

pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0)
    {
        if (PlayerInfo[playerid][pDonateRank] >= 2)
        {
            SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD1,"ERROR: You are not a VIP");
        }
        return 1;
    }
Reply
#9

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0)
    {
        if (PlayerInfo[playerid][pDonateRank] >= 2)
        {
            SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD1,"ERROR: You are not a VIP");
        }
        return 1;
    }
Not working in server_log file still shows
Код:
[18:45:28] [junkbuster] Could not give 'StandAlone' a jetpack because it's forbidden.
Reply
#10

anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)