05.11.2009, 09:45
[INC] GetVehicleFriendlyName
AboutThis include helps those who want the car's name. Also known as the car's friendly name.
How to use
Код:
native GetVehicleFriendlyName(vehicleid);
Код:
#include <ZGetVehName>
Код:
public OnPlayerStateChange(playerid,newstate,oldstate) { if(newstate == PLAYER_STATE_DRIVER) { TextDrawSetString(VehicleName, GetFriendlyVehicleName(GetPlayerVehicleID(playerid))) } }