SA-MP Forums Archive
error 012: invalid function call, not a valid address - 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: error 012: invalid function call, not a valid address (/showthread.php?tid=308200)



error 012: invalid function call, not a valid address - [DC] - 02.01.2012

Code:

PHP код:
format(strmessage, sizeof(strmessage), "%s (%d)'s IP: %s", PlayerName(endid), endid, ipstring); 
Errors:

PHP код:
error 012: invalid function call, not a valid address
warning 215
: expression has no effect
error 001
: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107
: too many error messages on one line 



Re: error 012: invalid function call, not a valid address - coole210 - 03.01.2012

The line above it is missing a ";".