vehicle saving coordinates
#2

you can do it like this:
pawn Code:
new vehiclepos[3][64];
format(vehiclepos[0],64,"%fx%fx%fx",posx,posy,posz);
format(vehiclepos[1],64,"%fx%fx%fx",posx,posy,posz);
format(vehiclepos[2],64,"%fx%fx%fx",posx,posy,posz);
then you save those three strings.

Then at load,
you just use split with the character 'x' , and you use floatstr(); with the 3 results from the split for each vehicle.+
Reply


Messages In This Thread
vehicle saving coordinates - by Why - 05.10.2012, 12:07
Re: vehicle saving coordinates - by Roel - 05.10.2012, 12:27
Re: vehicle saving coordinates - by Why - 05.10.2012, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)