get vehicle id
#3

Quote:
Originally Posted by TheDiscussionCafe
Посмотреть сообщение
hey. is there a "if" statement like this:

if(getvehicleNameOrId == 411)

or something like that so it can check if player is in vehicle 411?
Yes, there is.

if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)

https://sampwiki.blast.hk/wiki/GetVehicleModel



Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
pawn Код:
if(GetPlayerVehicleID(< 411)
i think it something like that but im just guessing
still it gives u an idea
No, your statement is invalid, that wont work.
Reply


Messages In This Thread
get vehicle id - by TheDiscussionCafe - 04.06.2012, 00:07
Re: get vehicle id - by thefatshizms - 04.06.2012, 00:09
Re: get vehicle id - by [NWA]Hannes - 04.06.2012, 00:11
Re: get vehicle id - by TheDiscussionCafe - 04.06.2012, 00:16
Re: get vehicle id - by thefatshizms - 04.06.2012, 00:17
Re: get vehicle id - by MP2 - 04.06.2012, 00:58

Forum Jump:


Users browsing this thread: 2 Guest(s)