Actor include
#1

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?
Reply
#2

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
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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
I tried it but it doesnt work @@
Reply
#4

Redownload SAMP server package and paste the include files to your include directory.
Reply
#5

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.
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)