SA-MP Forums Archive
SetPlayerHoldingObject Error - 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: SetPlayerHoldingObject Error (/showthread.php?tid=473402)



SetPlayerHoldingObject Error - AnonScripter - 02.11.2013

pawn Код:
CMD:attach(playerid, params[])
{
    SetPlayerHoldingObject(playerid, 1254, 2);
    return 1;
}
Код:
(2835) : error 017: undefined symbol "SetPlayerHoldingObject"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: SetPlayerHoldingObject Error - JohnRazer - 02.11.2013

SetPlayerHoldingObject was removed in a update I believe. It's replaced with SetPlayerAttatchedObject i'm pretty sure. Read up on it here: https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject