SA-MP Forums Archive
I need help error 012: invalid function call, not a valid address - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: I need help error 012: invalid function call, not a valid address (/showthread.php?tid=335478)



I need help error 012: invalid function call, not a valid address - tiernantheman - 18.04.2012

I get this problem when I try complie my script any help would be great thanks.

C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : error 012: invalid function call, not a valid address
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : warning 215: expression has no effect
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : warning 215: expression has no effect
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : warning 215: expression has no effect
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : warning 215: expression has no effect
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : error 001: expected token: ";", but found ")"
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : error 029: invalid expression, assumed zero
C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : fatal error 107: too many error messages on one line


Here is the line 2542
AddFire(RandomFire_X+random(3), RandomFire_Y+random(3), RandomFire_Z+random(1), 290);


Re: I need help error 012: invalid function call, not a valid address - Guest9328472398472 - 19.04.2012

C:\Users\Tiernan\Desktop\Fort Carson Roleplay\gamemodes\FCRP.pwn(2542) : error 001: expected token: ";", but found ")"

Why not fix that error yourself? It shows how, and it's very easy to fix.