23.08.2011, 20:53
You must replace
with the object's index, for example you got:
so the INDEX is 2, then you must go:
Code:
index
pawn Code:
SetPlayerAttachedObject(playerid, 2, ...blabla);
pawn Code:
if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);