Get Vehicle Type
#1

I'm working on a system that will work only on some of the vehicles looks like this:
Код:
if(veh = 415)
{
}
I've tried many definations for the veh but not working, can anyone give me a right one, what veh =.
That only if player in veh 415 then the command will work and there's else that will send him a message.
Reply
#2

You wan't model id? In that case
pawn Код:
new
    veh = GetVehicleModel( vehicleid )
;
// vehicleid may have to be replaced by something else - it really depends on where you use this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)