11.01.2012, 13:07
for the object problem:
this below your current code:
and this somewhere out of any callback
this below your current code:
pawn Код:
SetTimerEx("MyRemoveFunc", X * 1000, false, "i", playerid); //replace X with the amount of seconds before the object should be removed
pawn Код:
forward MyRemoveFunc(playerid);
public MyRemoveFunc(playerid)
{
RemovePlayerAttachedObject(playerid, 0);
return 1;
}