My /kidnap is bugged
#7

As I said, keep sticking to your prior code

Код:
if(gTeam[playerid] != TEAM_KIDNAPPER) 
{
    SendClientMessage(playerid, COLOR_ERROR, "Only Kidnappers can use this command");
    return 1;
}
The problem is somewhere in your if-clause

Код:
if(GetPlayerState(giveplayerid) != PLAYER_STATE_PASSENGER) {
    SendClientMessage(playerid,COLOR_ERROR,"The player must be a passanger");
    return 1;
}
according to your description.

As there is a variable called "giveplayerid" I wonder where you declare that one.
Reply


Messages In This Thread
My /kidnap is bugged - by MWF2 - 15.05.2010, 17:37
Re: My /kidnap is bugged - by Torran - 15.05.2010, 17:41
Re: My /kidnap is bugged - by MWF2 - 15.05.2010, 17:49
Re: My /kidnap is bugged - by Torran - 15.05.2010, 17:54
Re: My /kidnap is bugged - by juice.j - 15.05.2010, 17:56
Re: My /kidnap is bugged - by MWF2 - 15.05.2010, 18:01
Re: My /kidnap is bugged - by juice.j - 15.05.2010, 18:10
Re: My /kidnap is bugged - by MWF2 - 15.05.2010, 18:34
Re: My /kidnap is bugged - by juice.j - 15.05.2010, 18:36
Re: My /kidnap is bugged - by Torran - 15.05.2010, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)