17.03.2018, 18:53
Hello, i dont know what im doing wrong, vehicles ID get mixed by other vehicles and everything get's f*** up...
On creating vehicle (loading)
I'm doing
On every destroy im using
On creating vehicle (loading)
I'm doing
PHP код:
CInfo[i][SpawnID] = CreateVehicle....
PHP код:
DestroyVehicle(CInfo[vehid][SpawnID]);
CInfo[vehid][SpawnID] = INVALID_VEHICLE_ID;