09.05.2016, 15:43
you need glasses :P
Код:
CMD:obj(playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x,y,z); if(!IsValidDynamicObject(Object[playerid])) { Object[playerid]=CreateObject(866, x, y, z, 0, 0,0, 50); SetTimerEx("Destroy", 2000, false, "i", playerid); } return 1; } forward Destroy(playerid); public Destroy(playerid) { DestroyObject(Object[playerid]); }