Admin command, 2 errors? +1 rep
#10

Quote:
Originally Posted by Jony_Cruze
Посмотреть сообщение
pawn Код:
CMD:admins(playerid,params[])
{
    new adminCount,string[128];
    new Name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, Name, sizeof(Name));
    if(PInfo[playerid][Level] > 0)
    {
        format(string,sizeof(string),"[%s] %s",AdminLevelName(playerid),Name);
        SendClientMessage(playerid,-1,string);
        adminCount++;
   
    }
    else if(adminCount == 0)
    {
        SendClientMessage(playerid,-1,"There is no admin online!");
    }
}
Stop copying other people's replies and trying to look smart you weirdo.
Reply


Messages In This Thread
Admin command, 2 errors? +1 rep - by Lynet - 13.04.2013, 07:16
Re: Admin command, 2 errors? +1 rep - by Jony_Cruze - 13.04.2013, 07:19
Re: Admin command, 2 errors? +1 rep - by Revo - 13.04.2013, 07:25
Re: Admin command, 2 errors? +1 rep - by Avi Raj - 13.04.2013, 07:27
Re: Admin command, 2 errors? +1 rep - by Jony_Cruze - 13.04.2013, 07:28
Re: Admin command, 2 errors? +1 rep - by Lynet - 13.04.2013, 07:32
Re: Admin command, 2 errors? +1 rep - by Revo - 13.04.2013, 07:34
Re: Admin command, 2 errors? +1 rep - by Jony_Cruze - 13.04.2013, 07:34
Re: Admin command, 2 errors? +1 rep - by Lynet - 13.04.2013, 07:35
Re: Admin command, 2 errors? +1 rep - by Potassium - 13.04.2013, 07:37

Forum Jump:


Users browsing this thread: 7 Guest(s)