01.02.2012, 09:28
This's an example of it:
pawn Код:
new name[MAX_PLAYER_NAME],string[128];
new Float:vehx, Float:vehy, Float:vehz;
new Text3D:vehowner;
GetPlayerName(playerid,name,sizeof(name));
GetVehiclePos(veh, vehx, vehy, vehz);
format(string, sizeof(string), "%s (%d)'s vehicle.", name, playerid);
vehowner = Create3DTextLabel( string, COLOR, vehx, vehy, vehz, 40.0, 0, 0 );
Attach3DTextLabelToVehicle( vehowner, YOURVEHICLE, 0.0, 0.0, 1.0);