When 'OnPlayerEnterVehicle' it tells them the name of their car.
#2

You need to make a textdraw and it can be visible only when the player enters a vehicle.You can put it either at OnPlayerStateChange or OnPlayerEnterVehicle.For example:
pawn Код:
public OnPlayerEnterVehicle
{
  new string[128];
  format(string, sizeof(string), "%s", //Put here your vehicle loop for veh names);
  TextDrawSetString(Text:yourtextname, string);
  TextDrawShowForPlayer(playerid, Text:yourtextname);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)