Unknown Command
#1

Help, I make command on my server, when outside the vehicle its work but inside vehicle its say Unknown Command.
The Command:
pawn Код:
CMD:neon(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            new vehid = GetPlayerVehicleID(playerid);
            {
                NeonOnOff(playerid, vehid);
            }
        }
        else return SendClientMessageEx(playerid, COLOR_GREY, "You are not the driver!");
    }
    else return SendClientMessageEx(playerid, COLOR_GREY, "You are not inside the vehicle!");
    return 1;
}
Reply


Messages In This Thread
Unknown Command - by RenovanZ - 09.12.2012, 11:03
Re: Unknown Command - by Konstantinos - 09.12.2012, 11:10
Re: Unknown Command - by RenovanZ - 09.12.2012, 11:12
Re: Unknown Command - by RenovanZ - 09.12.2012, 11:27
Re: Unknown Command - by Konstantinos - 09.12.2012, 11:31
Re: Unknown Command - by RenovanZ - 09.12.2012, 11:37
Re: Unknown Command - by Konstantinos - 09.12.2012, 11:46
Re: Unknown Command - by RenovanZ - 09.12.2012, 11:59
Re: Unknown Command - by Konstantinos - 09.12.2012, 12:07
Re: Unknown Command - by RenovanZ - 09.12.2012, 12:15

Forum Jump:


Users browsing this thread: 3 Guest(s)