Is a car
#1

Hello, can someone give me this code, what checks that vehicle model id belongs to CAR or NOT. I mean like:

Код:
if(IsCar(vehicle))
{
     SendClientMessage(playerid, -1, "You sit in car.");
}
else
{
     SendClientMessage(playerid, -1, "You Don`t sit in car.");
}
I hope you understand :P
Reply
#2

DO you want to know if they are in a vehicle?
Reply
#3

There are several released functions that do that job, searching helps

e.g. this
http://forum.sa-mp.com/showthread.ph...t=isvehiclecar
Reply
#4

Thanks you :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)