Stock/Callback how do i make this possible?
#6

try by doing this
PHP код:
CMD:admin(playeridparams[]) 

    if(
PlayerInfo[playerid][pAdmin] >= 1) { 
        if(!
isnull(params)) 
        { 
            new 
szMessage[128], level[50];
            
format(szMessagesizeof(szMessage), "* %s %s: %s"GetLevelTitle(level), GetPlayerNameEx(playerid), params); 
        } 
        else 
SendClientMessage(playeridCOLOR_WHITE"USAGE: (/a)dmin [admin chat]"); 
    } 
    return 
1

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)