Why is this keep happening
#1

So i made my /admins command but i keep getting errors on this line , now this is what i want this line to do, i want it to check if the admins are afk and if they r it should show "AFK" Beside his/her name..

PHP код:
           if(pInfo[i][OnDuty] == 1strcat(iTag"{1A661A}ON-DUTY ");
            if(
Afk(i) == 1strcat(iTag"AFK "); // line with the error
             
format(astringsizeof(astring), "  %s %s (ID: %d) %s"AdminLevelName(i), GetName(i), iiTag);
            
SendClientMessage(playerid0xe1e3e6FF,astirng); 
PHP код:
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 012invalid function callnot a valid address
C
:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : warning 215expression has no effect
C
:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 001expected token";"but found ")"
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 029invalid expressionassumed zero
C
:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply


Messages In This Thread
Why is this keep happening - by 1fret - 02.09.2017, 20:12
Re: Why is this keep happening - by Meller - 02.09.2017, 20:16
Re: Why is this keep happening - by GoldenLion - 02.09.2017, 20:16
Re: Why is this keep happening - by 1fret - 02.09.2017, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)