[Help] Show vehicle model when player enters vehicle.
#7

Quote:
Originally Posted by iDuckling
View Post
Works but shows the same model for all vehicles .
Help please.

Quote:
Originally Posted by Mean
View Post
Use TextDrawSetString.

pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) {
    new model = GetVehicleModel( vehicleid );
    if (model == 520) TextDrawSetString(car, "Hydra");
    return true;
}
Only takes 1 TD, also I'd like to point out you can make an array with all vehicles and do this in just a few lines of code.
For that GameText will be better. What I'm trying to do is show the model (a little image of the vehicle). Like this:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)