13.01.2012, 10:58
Quote:
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 Код:
|
but that did make some errors so i needed to use this instead. And this disable the function of some reason.
pawn Код:
if(GetVehicleModel(vehicleid) == 476)
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 476) {