27.01.2013, 09:19
Hi all,
you don't understand what i mean.
here is the code scripted
As you can see, must make a long bool to know if the trailer is attached to an another veh.
So when i want to respawn all veh, i have to make
an long bool, and for each car make an another long bool.
so +- 501 long bool.
Better is directly into the native
Max
you don't understand what i mean.
here is the code scripted
pawn Код:
public IsTrailerAttached(carid)
{
for(new car=1; car < MAX_VEH; car++)
{
if(GetVehicleTrailer(car) == carid) return 1;
}
return 0;
}
So when i want to respawn all veh, i have to make
an long bool, and for each car make an another long bool.
so +- 501 long bool.
Better is directly into the native
Max