Actor include - 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: Actor include (
/showthread.php?tid=619883)
Actor include -
HoangNam - 23.10.2016
I'm so angry!! In my first Laptop, I can use include a_actor (callback GetPlayerTargetActor) but in my new Laptop I cant compiler my script, errors:
error 017: undefined symbol "GetPlayerTargetActor"
I added "#include <a_actor>" on top. If I delete it, I have another error:
undefined symbol "CreateActor". Anyone help?
Re: Actor include -
Konstantinos - 23.10.2016
You need to update the includes (executable files as well).
Downloads:
SA-MP 0.3.7 R2-1 Linux Server: http://files.sa-mp.com/samp037svr_R2-1.tar.gz
SA-MP 0.3.7 R2-1 Windows Server: http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip
Re: Actor include -
HoangNam - 23.10.2016
Quote:
Originally Posted by Konstantinos
|
I tried it but it doesnt work @@
Re: Actor include -
X337 - 23.10.2016
Redownload SAMP server package and paste the include files to your include directory.
Re: Actor include -
Konstantinos - 23.10.2016
Actors features were added in 0.3.7 so giving "GetPlayerTargetActor" as undefined means that a_players.inc was not updated. After replacing all the includes came with the new package I linked you, open the script through the editor and not by double-clicking on it.
Re: Actor include -
HoangNam - 23.10.2016
Quote:
Originally Posted by Konstantinos
Actors features were added in 0.3.7 so giving "GetPlayerTargetActor" as undefined means that a_players.inc was not updated. After replacing all the includes came with the new package I linked you, open the script through the editor and not by double-clicking on it.
|
Oh yeah, it works
Thank you.
FIXED