commands dont work
#4

pawn Код:
CMD:cr(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 4)
    {
        return SendClientMessageEx(playerid, COLOR_LIGHTRED, " You are not authorized to use that command.");
    }
    else
    {
        if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
        AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
        SendClientMessage(playerid, 0xFFFFFFFF, "You have added cutter rims to your vehicle.");
        return 1;
    }
Don't you have to use 'else'? I'm not sure though!
Reply


Messages In This Thread
commands dont work - by ryanhawk31 - 18.05.2013, 09:46
AW: commands dont work - by HurtLocker - 18.05.2013, 09:49
Re: commands dont work - by ryanhawk31 - 18.05.2013, 16:22
Re: commands dont work - by NL-Sultan - 18.05.2013, 16:27
Re: commands dont work - by ryanhawk31 - 18.05.2013, 18:57
Re: commands dont work - by DobbysGamertag - 18.05.2013, 19:02
Re: commands dont work - by Harry_F. - 18.05.2013, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)