[HELP] invalid fuction - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] invalid fuction (
/showthread.php?tid=512549)
[HELP] invalid fuction -
monster010 - 11.05.2014
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?
Re: [HELP] invalid fuction -
Beckett - 11.05.2014
Which line is 20897.
P.S: This is a ripped off code show the whole code so I can understand.
Re: [HELP] invalid fuction -
Konstantinos - 11.05.2014
I'll assume sendername is a variable so you cannot use the parentheses like it's a function.
Re: [HELP] invalid fuction -
monster010 - 14.05.2014
SOLVED !