SetPlayerAttachedObject problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerAttachedObject problem (
/showthread.php?tid=260288)
SetPlayerAttachedObject problem -
tbedy - 08.06.2011
Код:
D:\skripta\Windows\filterscripts\TAZER.pwn(105) : error 017: undefined symbol "SetPlayerAttachedObject"
D:\skripta\Windows\filterscripts\TAZER.pwn(111) : error 017: undefined symbol "RemovePlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
how to resolve these problems...
Re: SetPlayerAttachedObject problem -
PGTips - 08.06.2011
athe top of your script
forward SetPlayerAttachedObject();
forward RemovePlayerAttachedObject();
Re: SetPlayerAttachedObject problem -
tbedy - 08.06.2011
then errors are:
Код:
D:\skripta\Windows\filterscripts\TAZER.pwn(107) : error 004: function "SetPlayerAttachedObject" is not implemented
D:\skripta\Windows\filterscripts\TAZER.pwn(113) : error 004: function "RemovePlayerAttachedObject" is not implemented
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: SetPlayerAttachedObject problem -
PGTips - 08.06.2011
did you put forward at the top of your script not in a indent if so good
if you did that have you opened and closed al your brackets here can you post one so we can check it for you?
Re: SetPlayerAttachedObject problem -
tbedy - 08.06.2011
here is my code:
http://pastebin.com/JjXVC62q
Re: SetPlayerAttachedObject problem -
PGTips - 08.06.2011
sorry ive told you wrong remove the forwards ive told you to put and then put this abov the use of them
DestroyObejct(playerid. objectid); //replace RemovePlayerAtt... with this
for the object
then i dont know about the other one
Re: SetPlayerAttachedObject problem -
tbedy - 08.06.2011
now errors:
Код:
D:\skripta\Windows\filterscripts\tazer.pwn(106) : error 017: undefined symbol "SetPlayerAttachedObject"
D:\skripta\Windows\filterscripts\tazer.pwn(112) : error 017: undefined symbol "objectid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: SetPlayerAttachedObject problem -
PGTips - 08.06.2011
by object id i meant you put the id there and example of a object is
DestroyObejct(playerid. 10);
i dont know if 10 is a obkect but get your object id and then put it where object id is