Loop through 3DText lables and vehicles
#4

Quote:
Originally Posted by AndreT
Посмотреть сообщение
You will need to know how vehicle IDs are created in the server internally and assess how you want to approach this problem.

If you are going to create the textdraw labels for 2 vehicles only, you will probably be better off not using a loop as this would overcomplicate things - also the server has no way of knowing which 2 vehicles you want to deal with.

When spawning the vehicles, does your current code do the following:
pawn Код:
// ...
Vehicles[0] = CreateVehicle(...);
// ...
Vehicles[1] = CreateVehicle(...);
// ...
Yes it does this exactly.

Well I have solved the problem. This was strange.
Reply


Messages In This Thread
Loop through 3DText lables and vehicles - by Cypress - 01.03.2013, 15:48
Re: Loop through 3DText lables and vehicles - by [MG]Dimi - 01.03.2013, 16:08
Re: Loop through 3DText lables and vehicles - by AndreT - 01.03.2013, 16:13
Re: Loop through 3DText lables and vehicles - by Cypress - 01.03.2013, 16:16

Forum Jump:


Users browsing this thread: 3 Guest(s)