SA-MP Forums Archive
Read File vehicle spawns - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Read File vehicle spawns (/showthread.php?tid=128519)



Read File vehicle spawns - Rizard - 18.02.2010

Hi,

After searching big time throughout the the forum I found the single player vehicle spawns.

Problem
Well, the data is rough, and by rough I mean - unordered or not for pawno to understand.

IS there any (scripting) way to load this data into pawno the right way? so pawno will understand it are vehicle spawns?
(in other words 'converting into : Createvehicle(...))

DATA EXAMPLE:
Код:
-166.004	101.329.999	18.792	314.16	-1	-1	-1
-319.395	96.256.097	187.813	314.16	478	-1	-1
I've spotted some gamemodes with files like carspawns.cfg (lot's of vehicle data in it).

I asume then there is A WAY, but pls help me out wich one! (is the best)

Grts Riz


Re: Read File vehicle spawns - Rizard - 18.02.2010

10 hours + and no answers? shizzle is this the wrong place to post this?

other words: PLEASE HELP!


Grts Riz


Re: Read File vehicle spawns - dice7 - 18.02.2010

Check the grandlarc example


Re: Read File vehicle spawns - Rizard - 18.02.2010

Meaning the gamemode and take spawns from there?

is it to hard to do this then? or not even possible?

EDIT: wait, I just read something 'bout convertffs or something - I'm gonna look it up

EDIT2: to bad, my data seems to be 2 rough for convertffs

TYVM dice7, I was enoyed and didn't see clearly , your simple answer saved me this time xD


Grtz Riz

PS: What I want for christmass; 'demand < than supply (answers)'