10.03.2012, 05:24
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 :
The 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 :
Thanks a lot !
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; }
Код:
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.
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>