Help with gangsterlevel!
#2

PHP код:
CMD:og(playeridparams[])
{
    new 
gangsterrank[MAX_PLAYER_NAME], gangsterlevelid;
    if(
PlayerInfo[playerid][pAdmin] >= 3)
    {
        if (
sscanf(params"ui"idgangsterlevel)) return SendClientMessage(playeridCOLOR_RED"USAGE: /set_glevel [id] [gangsterlevel]");
        if (
id == INVALID_PLAYER_ID) return SendClientMessage(playeridCOLOR_RED"System: Invalid ID");
        
GetPlayerName(idgangsternamesizeof(gangstername));
        new 
str[128];
        
format(str,128,"System: %s [ID %d] has set %s [ID %d] gangsterlevel to %i",adminnameplayeridgangsterrankidgangsterlevel);
        
SendClientMessage(playerid,COLOR_YELLOW,str);
        return 
1;
    }
    else return 
SendClientMessage(playerid,COLOR_RED,"  You are not allowed to use this command!");

Reply


Messages In This Thread
Help with gangsterlevel! - by samtey - 02.08.2011, 18:26
Re: Help with gangsterlevel! - by Kush - 02.08.2011, 18:29
AW: Help with gangsterlevel! - by samtey - 02.08.2011, 18:32
AW: Help with gangsterlevel! - by samtey - 02.08.2011, 19:22
Re: Help with gangsterlevel! - by wups - 02.08.2011, 19:43
AW: Help with gangsterlevel! - by samtey - 02.08.2011, 20:11
AW: Help with gangsterlevel! - by samtey - 02.08.2011, 20:50
AW: Help with gangsterlevel! - by samtey - 03.08.2011, 06:53
Re: Help with gangsterlevel! - by GangsTa_ - 03.08.2011, 10:21
AW: Help with gangsterlevel! - by samtey - 03.08.2011, 10:47

Forum Jump:


Users browsing this thread: 1 Guest(s)