error 035: argument type mismatch (argument 2)
#2

That command returns 1 or that SendClientMessage. Nothing else.

To fix command. Here ya go
pawn Код:
CMD:promote(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] >= 5)
    {
        return 1; // Add whatever your code u want here.
    }
    else return SendClientMessage(playerid, RED,"[pr0adm]You must be level 5 to set a players level.");
    return 1;
}
Reply


Messages In This Thread
error 035: argument type mismatch (argument 2) - by [p3]pr0t0typ3 - 22.08.2012, 01:07
Re: error 035: argument type mismatch (argument 2) - by Ballu Miaa - 22.08.2012, 02:29

Forum Jump:


Users browsing this thread: 2 Guest(s)