if(object[playerid] != -1) { DestroyObject(object[playerid]); object[playerid] = -1; }