01.03.2014, 08:16
I've honestly not used used AttachObject before. But I may be able to help. What callback are you using this on?
pawn Код:
for(new t=0; t<MAX_PLAYER_ATTACHED_OBJECTS; t++)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, t)) RemovePlayerAttachedObject(playerid, t);
}