is this correct?
#10

Quote:
Originally Posted by Blunt P
Посмотреть сообщение
pawn Код:
CMD:goldrims(playerid, params[])
{
    #pragma unused params // Not needed
    if(PlayerInfo[playerid][pAdmin] >= 4)
    {
        AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);    
    }
    return 1;
}
Zcmd won't return any warning if params remains unused, so #pragma unused params is never needed. Only dcmd does.
Reply


Messages In This Thread
is this correct? - by sampmark05 - 26.04.2012, 05:55
Re: is this correct? - by FalconX - 26.04.2012, 05:59
Re: is this correct? - by RollTi - 26.04.2012, 06:03
Re: is this correct? - by sampmark05 - 26.04.2012, 06:03
Re: is this correct? - by sampmark05 - 26.04.2012, 06:06
Re: is this correct? - by FalconX - 26.04.2012, 06:09
Re: is this correct? - by sampmark05 - 26.04.2012, 06:15
Re: is this correct? - by FalconX - 26.04.2012, 06:16
AW: is this correct? - by Blunt P - 26.04.2012, 06:17
Re: AW: is this correct? - by Mark™ - 26.04.2012, 06:29

Forum Jump:


Users browsing this thread: 3 Guest(s)