24.02.2013, 18:54
Quote:
Is the "IsVehicleOccupied" function working the way it should at that point? It could be that the information for the function is not updated between 2 close calls.
For testing, create another Array which saves if the Monstertrucks are occupied or not and check it that way. Like MVehicleOccupied, setting it to 1 where PutPlayerInVehicle is called. |
if(!MVehicleO[v] == 0)) PutPlayerInVehicle(i, MVehicle[v], 0),MVehicleO[v] = 1;