SA-MP Forums Archive
[HELP] SetPlayerAttachedObject - 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: [HELP] SetPlayerAttachedObject (/showthread.php?tid=195663)



[HELP] SetPlayerAttachedObject - Pooh7 - 03.12.2010

hi

I have downloaded new 0.3c version, and included a_players, but SetPlayerAttachedObject doesn't work for me.
I got this error:

Код:
error 017: undefined symbol "SetPlayerAttachedObject"
OnPlayerSpawn:

pawn Код:
public OnPlayerSpawn(playerid)
{
// some code
SetPlayerAttachedObject(playerid, 3, 1607, 2, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
// rest of code

NOTE: I have downloaded 0.3c version and included a_players.inc !!!!!!!!!!!!!

How to fix it!? O.o


Re: [HELP] SetPlayerAttachedObject - Pooh7 - 03.12.2010

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

https://sampwiki.blast.hk/wiki/SetPlayerHoldingObject
Quote:
Originally Posted by SA:MP Wiki
Warning: This function was removed in SA-MP 0.3c. check SetPlayerAttachedObject