[HELP] invalid fuction
#1

pawn Код:
new string12[256];
SendClientMessage(plo, COLOR_GRAD1, "   You have been teleported");
format(string12, sizeof(string12), "[ANTI-ABUSING] %s has using /gethere command !", sendername(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string12);
Код:
C:\gf.pwn(20897) : error 012: invalid function call, not a valid address
C:\gf.pwn(20897) : warning 215: expression has no effect
C:\gf.pwn(20897) : error 001: expected token: ";", but found ")"
C:\gf.pwn(20897) : error 029: invalid expression, assumed zero
C:\gf.pwn(20897) : fatal error 107: too many error messages on one line
WTF?
Reply
#2

Which line is 20897.

P.S: This is a ripped off code show the whole code so I can understand.
Reply
#3

I'll assume sendername is a variable so you cannot use the parentheses like it's a function.
Reply
#4

SOLVED !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)