SetPlayerHoldingObject 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)
+--- Thread: SetPlayerHoldingObject problem (
/showthread.php?tid=348143)
SetPlayerHoldingObject problem -
calin1996 - 04.06.2012
Lines:
pawn Код:
SetPlayerHoldingObject(playerid, 18865, 6, 0.0, 0.0, 0.0 );
SetPlayerHoldingObject(playerid, 18865, 6, 0.0, 0.0, 0.0 );
SetPlayerHoldingObject(playerid, 18865, 6, 0.0, 0.0, 0.0 );
Errors:
pawn Код:
D:\Lucru\1.3 samp 0.3e\gamemodes\inaintedetaxi2.pwn(35983) : error 017: undefined symbol "SetPlayerHoldingObject"
D:\Lucru\1.3 samp 0.3e\gamemodes\inaintedetaxi2.pwn(36081) : error 017: undefined symbol "SetPlayerHoldingObject"
D:\Lucru\1.3 samp 0.3e\gamemodes\inaintedetaxi2.pwn(36498) : error 017: undefined symbol "SetPlayerHoldingObject"
Defs:
pawn Код:
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)