Using of EditAttachedObject - 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: Using of EditAttachedObject (
/showthread.php?tid=324582)
Using of EditAttachedObject -
C0b0ll - 10.03.2012
Hello everybody,
I try to use
EditAttachedObject in my script.
Unfortunately, when I compile a little test, the compiler return me an error.
My code :
Код:
if (strcmp(cmd, "/test", true) == 0)
{
EditAttachedObject(playerid, 0); // HERE IS THE ERROR
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: You now edit your attached object on index slot 0!");
return 1;
}
The error :
Код:
D:\_Games\GTA San Andreas\Server\gamemodes\assault.pwn(1904) : error 017: undefined symbol "EditAttachedObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I checked in the "a_objects.inc" include, but no trace of "EditAttachedObject" function.
What I'm doing wrong ? Am I missing an include ?
My includes :
Код:
#include <a_samp>
#include <a_sampmysql>
#include <utils>
#include <streamer>
#include <irc>
#include <bodyparts>
#include <a_objects>
Thanks a lot !
Re: Using of EditAttachedObject -
FarSe. - 10.03.2012
replace 'include' folder from your-server/pawno with 'include' from sa-mp-server-0.3e-RC2.rar(or something like that) : pawno/include
Re: Using of EditAttachedObject -
eesh - 10.03.2012
update your includes. you must be having two pawno.exe's and using the older one.
Re: Using of EditAttachedObject -
Ballu Miaa - 10.03.2012
This feature is in SAMP 0.3e , upgrade to that!
Re : Using of EditAttachedObject -
C0b0ll - 10.03.2012
Mouarf !
Sorry for this stupid thread...
I redownloaded the includes on
http://www.sa-mp.com/download.php but their server file isn't up to date.
I found the last version on
https://sampforum.blast.hk/showthread.php?tid=323271
Thanks !
Re: Using of EditAttachedObject -
eesh - 10.03.2012
edit: nvm