Attach3DTextLabelToVehicle help
#3

Quote:
Originally Posted by Galletziz
Посмотреть сообщение
pawn Код:
new id = VehicleInfo[GetPlayerVehicleID(playerid)][vOwned]
Attach3DTextLabelToVehicle(vehicle3Dtext[keyid], keyid, 0.0, 0.0, 2.0); // why vehicle3Dtext[keyid]??
try to
pawn Код:
Attach3DTextLabelToVehicle(vehicle3Dtext[id], id, 0.0, 0.0, 2.0);
i hope that i understand what you want to do.
PHP код:
new Text3D:vehicle3Dtext[MAX_VEHICLES],vehicle_id;
// Creating the TextLabel for later use
 
public OnGameModeInit ( )
{
    
vehicle_id CreateVehicle5100.00.015.050120 );
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"Example Text"0xFF0000AA0.00.00.050.00);
    
//Creating the Vehicle
    //Attaching Text Label To Vehicle
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , vehicle_id0.00.02.0);
}
public 
OnGameModeExit ( )
{
    
Delete3DTextLabelvehicle3Dtextvehicle_id ] );
    return 
true;

Reply


Messages In This Thread
Attach3DTextLabelToVehicle help - by N0FeaR - 10.02.2016, 11:26
Re: Attach3DTextLabelToVehicle help - by Galletziz - 10.02.2016, 14:09
Re: Attach3DTextLabelToVehicle help - by N0FeaR - 10.02.2016, 16:07
Re: Attach3DTextLabelToVehicle help - by Crayder - 10.02.2016, 16:42
Re: Attach3DTextLabelToVehicle help - by N0FeaR - 10.02.2016, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)