Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Why is this keep happening

$
0
0
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 Code:

           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 Code:

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



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>