Tester & admin chat
#3

Код:
if(pInfo[playerid][pAdminLevel] >= 1) 
    { 
        if(!strlen(params)) 
        { 
            SendClientMessage(playerid, -1, ""COL_RED"TesterCmd: /tchat [Mesaj]"); 
            return 1; 
        } 
        format(Testerstring, sizeof(Testerstring), ""COL_GREEN"[Tester Chat] %s %s[%d]: %s",GetAdminName(playerid),PlayerName(playerid), playerid, params); 
        SendMessageToAllTesters(Testerstring, -1); 
    }
This section of code is useless as you've already selected in your first if statement if they're a tester OR admin, if you remove that issue 2 should fix itself.
Reply


Messages In This Thread
Tester & admin chat - by Zeus666 - 13.10.2018, 12:15
Re: Tester & admin chat - by v1k1nG - 13.10.2018, 12:58
Re: Tester & admin chat - by Chyakka - 13.10.2018, 13:00
Re: Tester & admin chat - by ShadowMortar - 13.10.2018, 13:52
Re: Tester & admin chat - by Threshold - 14.10.2018, 01:29
Re: Tester & admin chat - by Calisthenics - 14.10.2018, 09:47
Re: Tester & admin chat - by Zeus666 - 14.10.2018, 10:16
Re: Tester & admin chat - by CaptainBoi - 14.10.2018, 12:42
Re: Tester & admin chat - by UFF - 14.10.2018, 12:44
Re: Tester & admin chat - by Boarden - 14.10.2018, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)