Help with loop inside loop
#3

Quote:
Originally Posted by NaS
View Post
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.
you mean something like this ?
if(!MVehicleO[v] == 0)) PutPlayerInVehicle(i, MVehicle[v], 0),MVehicleO[v] = 1;
Reply


Messages In This Thread
Help with loop inside loop - by Salim_Karaja - 24.02.2013, 18:40
AW: Help with loop inside loop - by NaS - 24.02.2013, 18:50
Re: AW: Help with loop inside loop - by Salim_Karaja - 24.02.2013, 18:54
AW: Help with loop inside loop - by NaS - 24.02.2013, 18:57
Re: AW: Help with loop inside loop - by Salim_Karaja - 24.02.2013, 19:02

Forum Jump:


Users browsing this thread: 1 Guest(s)