Vehicle's Model ( Please Help )
#1

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?
Reply
#2

https://sampwiki.blast.hk/wiki/Category:Vehicle
Reply
#3

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?
Reply
#4

NVM FOund it

Quote:

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)