08.03.2011, 20:52
Use RemovePlayerAttachedObject. As far as I remember, the update for 0.3c introduced indexes for attached objects, simply use a for() loop to loop through every index and remove the object by the index.
I've written some pseudo-code for you to use (should work, but I haven't tested it and I haven't really used the object attaching functions yet):
I've written some pseudo-code for you to use (should work, but I haven't tested it and I haven't really used the object attaching functions yet):
pawn Код:
for(new i = 0; i < 5; i++) {
RemovePlayerAttachedObject(playerid, i);
}
