AttachObject
#2

Okay, what you need to do is create the vehicles like this first:-

pawn Код:
//on top - change the max taxi limit to your own
#define MAX_TAXI (10)

new taxi[MAX_TAXI];

//now create them in the gamemodeinit

taxi[0] = AddStaticVehicle(...);
taxi[1] = AddStaticVehicle(...);

//and so on till your required number. Now what you have to do is make a loop:-

for(new f; f < MAX_TAXI; f++)
// and rest of the code.
This is what I've thought, would have provided the full code but sorry I am not on computer.
-FalconX
Reply


Messages In This Thread
AttachObject - by Dan_Barocu - 13.05.2012, 22:43
Re: AttachObject - by FalconX - 13.05.2012, 23:15
Re: AttachObject - by Dan_Barocu - 13.05.2012, 23:28
Re: AttachObject - by Dan_Barocu - 14.05.2012, 11:23

Forum Jump:


Users browsing this thread: 1 Guest(s)