17.03.2018, 22:16
i'm using vehicle id's for index, and foreach. it's working well so far
i mean:
but you have to skip index 0
i mean:
Код:
new vehicleid = CreateVehicle(...); if(!Iter_Contains(Vehicles, vehicleid) { Iter_Add(Vehicles, vehicleid); }
Код:
new vehicleid = GetPlayerVehicleID(playerid); if(Vehicle[vehicleid][vType] == VEHICLE_TYPE_MISSION) { .... }