09.10.2014, 02:57
But replacing Iter_Remove(Vehicle, vehicleid); with a safe remove cleans up just as well right? Let me check...
btw:
So if, the success is false, or 0, return -1? Why?
Oh I see I think, same concept
btw:
pawn Код:
stock ForeachExt_DestroyVehicle(vehicleid)
{
new success = DestroyVehicle(vehicleid);
if(success)
{
Iter_Remove(Vehicle, vehicleid);
}
return success;
}
Oh I see I think, same concept