hot to?? - 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)
+--- Thread: hot to?? (
/showthread.php?tid=429789)
hot to?? -
speed258 - 11.04.2013
hello i have in my server 200 cars which mean 199 vehicleid so and i wanna get as example 55 so what i need to do?
Re: hot to?? -
MP2 - 11.04.2013
Your question makes no sense. Nor does your statement. If you have 200 cars, you have 200 vehicle IDs..
Re: hot to?? -
speed258 - 11.04.2013
whatever but so how to get from 200 vehicleid just 45 as example i didn't find anything.
Re: hot to?? -
AIped - 11.04.2013
remove 155 AddStaticVehicles then you got 45
Re: hot to?? -
Rillo - 11.04.2013
Not sure what you mean but, if you have 200 vehicle then you should 200 lines like this;
Quote:
AddStaticVehicleEx ( 520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 15 );
|
or
Quote:
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
|
Something similar to that^, and if you want 45 or 55 then just copy that many lines like one of the above and add/remove do whatever you want with them.
Re: hot to?? -
speed258 - 11.04.2013
no no you don't understand i wanna GET vehicleid as integer but not GetPlayerVehicleID(playerid) is any way to GET my specific id(125)?
Re: hot to?? -
AIped - 11.04.2013
oh now i see what you want,..tried that once if i remember correct i used GetVehicleModel
Re: hot to?? -
speed258 - 11.04.2013
not model, i need like GetVehicleID(vehicleid) something like that
Re: hot to?? -
MP2 - 11.04.2013
Please read what you just wrote....
GetVehicleID(vehicleid)
That's like asking 'how do you spell WTF' or 'What number do you call for 911'..
Re: hot to?? -
Pottus - 11.04.2013
The level of nonsense here points to a translator.