13.01.2012, 10:46
You are confused, vehicleid is the server ID of the vehicle which starts from 0 - 1999. The model of the vehicle is what you're going for, 476 is Rustler. To target a Rustler, you need to use GetVehicleModel and GetPlayerVehicleID.
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 476) {
// The player is in a Rustler.
}