if(pInfo[i][OnDuty] == 1) strcat(iTag, "{1A661A}ON-DUTY ");
if(Afk(i) == 1) strcat(iTag, "AFK "); // line with the error
format(astring, sizeof(astring), " %s %s (ID: %d) %s", AdminLevelName(i), GetName(i), i, iTag);
SendClientMessage(playerid, 0xe1e3e6FF,astirng);
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 012: invalid function call, not a valid address
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : warning 215: expression has no effect
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 001: expected token: ";", but found ")"
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : error 029: invalid expression, assumed zero
C:\Users\Andre'\Desktop\Andre'\samp\gamemodes\ODA.pwn(4976) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(Afk(i) == 1)
|
Код:
if(Afk(i) == 1) EDIT: Seems like Meller and I posted at the same time. |
|
Pretty sure "Afk" is a variable hm?
if(Afk[i] == 1) strcat(iTag, "AFK "); edit: love u 2 goldenlion <33 |