/nominate Command Please?
#5

Modify it.
pawn Код:
CMD:makeadmin( playerid, params[ ] )
{
    if( !IsPlayerAdmin( playerid ) ) return 1;
    new
        id,
        level
    ;
    if( sscanf( params, "ri", id, level ) ) return SendClientMessage( playerid, -1, "Syntax: /makeadmin <ID/Part Of Name> <level>" );
    if( id == INVALID_PLAYER_ID ) return SendClientMessage( playerid, -1, "Offline player" );
    if( level < 0 || level > 3 ) return SendClientMessage( playerid, -1, "Levels from 0 to 3" );
    pInfo[ id ][ pAdminlevel ] = level;
    return 1;
}
Reply


Messages In This Thread
/nominate Command Please? - by MAFIAWARS - 24.09.2013, 14:52
Re: /nominate Command Please? - by Wizza - 24.09.2013, 15:07
Re: /nominate Command Please? - by DanishHaq - 24.09.2013, 15:11
Re: /nominate Command Please? - by MAFIAWARS - 24.09.2013, 15:22
Re: /nominate Command Please? - by Konstantinos - 24.09.2013, 15:35
Re: /nominate Command Please? - by Patrick - 24.09.2013, 15:40

Forum Jump:


Users browsing this thread: 1 Guest(s)