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

I am making a admin script with SII,zcmd and sscanf.

Im trying to make a setlevel command but i keep getting the error in thread title.Im not a total noob but im new to making inis and admin commans.

Код:
CMD:promote(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] >= 5)
    {
    return 1;
    }
    else SendClientMessage(playerid, RED,"[pr0adm]You must be level 5 to set a players level.");
    return 1;
}
I know this is probably very wrong but its the closest i could get to a decent admin command.Any help for this would be very appreciated as always
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: 3 Guest(s)