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



AttachedPlayerObject - kbalor - 09.09.2012

I have a simple question. Does it remove all attachedplayerobjects in all Slots?

pawn Код:
for ( new i = 0; i < 5; i ++ )
if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
RemovePlayerAttachedObject( playerid, i );