SA-MP Forums Archive
Vehicle's Model ( Please Help ) - 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: Vehicle's Model ( Please Help ) (/showthread.php?tid=338807)



Vehicle's Model ( Please Help ) - Aira - 01.05.2012

Hi, i'm currently making a Street Sweeper Job and i'm stuck in this shit

Quote:

if((carid >= LIDHERE) && (carid <= HIDHERE))

Because i want it to be if((carmodel >= modelhere)) and i know that 'carmodel' isn't right, my question is

What should i put in carmodel?


Re: Vehicle's Model ( Please Help ) - warcodes_ - 01.05.2012

https://sampwiki.blast.hk/wiki/Category:Vehicle


Re: Vehicle's Model ( Please Help ) - Aira - 01.05.2012

I know their Model ID's, what i'm asking is like

whats the one for .. JEsus its hard to explain

I'M TRYING TO MAKE IT IF HE ENTERS A CAR MODEL WHICH IS 'STREETSWEEPER', IT WILL EJECT HIM OR SOMETHING
Just give me the thing
For Example, if its the ID only its

Quote:

if((carid = LIDHERE))

now what if i want to get the Vehicle ID not the Car ID?


Re: Vehicle's Model ( Please Help ) - Aira - 01.05.2012

NVM FOund it

Quote:

(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)

Thanks to this
http://forum.sa-mp.com/showthread.ph...27#post1834227
Thanks anyways