SA-MP Forums Archive
Figure out the numbers meaning - 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: Figure out the numbers meaning (/showthread.php?tid=119246)



Figure out the numbers meaning - TheGtaLover - 07.01.2010

Код:
1249.052368,-805.567504,83.867698,180.171798,Ali_Escobar,0,0,541,130000,1,Bullet,20,1,1,1,1,1,DEFAULT
I dont know what all of it is.. I only knew a few..
like..
-805.567504,83.867698,180.171798 is the x,y,z
Ali_Escobar Owner of the vehicle
541 car ID
130000 The price of it..
20 the level.
Bullet Name of the Vehicle

Can anyone help with the others?? I need to know them..


Re: Figure out the numbers meaning - jameskmonger - 07.01.2010

Код:
1249.052368,0,0,1,Bullet,1,1,1,1,1,DEFAULT
Colours and mod parts.


Re: Figure out the numbers meaning - TheGtaLover - 07.01.2010

Quote:
Originally Posted by jameskmonger
Код:
1249.052368,0,0,1,Bullet,1,1,1,1,1,DEFAULT
Colours and mod parts.
explain.. :-/ like.. which one is that, colors. mods..?


Re: Figure out the numbers meaning - SiJ - 07.01.2010

Quote:
Originally Posted by iLike
Код:
1249.052368,-805.567504,83.867698,180.171798,Ali_Escobar,0,0,541,130000,1,Bullet,20,1,1,1,1,1,DEFAULT
I dont know what all of it is.. I only knew a few..
like..
-805.567504,83.867698,180.171798 is the x,y,z
Ali_Escobar Owner of the vehicle
541 car ID
130000 The price of it..
20 the level.
Bullet Name of the Vehicle

Can anyone help with the others?? I need to know them..
1249.052368 - x
-805.567504 - y
83.867698 - z
180.171798 - rotation angle
Ali_Escobar - idk.. name?
0,0 - color1, color2
idk other.. :P
541,130000,1,Bullet,20,1,1,1,1,1,DEFAULT


Re: Figure out the numbers meaning - Norck - 07.01.2010

Post here some code, which you are using to load or save your vehicles, so we will be able to say what is every number mean


Re: Figure out the numbers meaning - TheGtaLover - 07.01.2010

Quote:
Originally Posted by Sinyavski
Post here some code, which you are using to load or save your vehicles, so we will be able to say what is every number mean
That was one of them...
thats one code thats in cars.cfg.. but if you need another..??

here..:
Код:
1788.921997,-2024.454223,13.192850,357.757293,Johny_Park,0,0,542,5000,1,Clover,5,0,0,1,1,1,DEFAULT



Re: Figure out the numbers meaning - Streetplaya - 07.01.2010

x, y, z, rotation, owner name?, col1, col2, modelid, price?, ownedbysomeone?, owner?, ...

Quote:
Originally Posted by iLike
That was one of them...
thats one code thats in cars.cfg.. but if you need another..??
the vehicle load part of the source code of your script.


Re: Figure out the numbers meaning - SiJ - 07.01.2010

Quote:
Originally Posted by iLike
Quote:
Originally Posted by Sinyavski
Post here some code, which you are using to load or save your vehicles, so we will be able to say what is every number mean
That was one of them...
thats one code thats in cars.cfg.. but if you need another..??

here..:
Код:
1788.921997,-2024.454223,13.192850,357.757293,Johny_Park,0,0,542,5000,1,Clover,5,0,0,1,1,1,DEFAULT
He meant that he needs code from your script, which reads cars.cfg :P


Re: Figure out the numbers meaning - Norck - 07.01.2010

Quote:

He meant that he needs code from your script, which reads cars.cfg

Yes

Like
Код:
public LoadVehicles()
{
//code that i need
}
or
Код:
public SaveVehicles()
{
//code that i need
}



Re: Figure out the numbers meaning - TheGtaLover - 07.01.2010

:OO,.. Now i see.. thanks for the ones who gave me help, now i can tell..
cause of the loadcars thing..