SA-MP Forums Archive
[Ajuda] Nome nos veнculos - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Nome nos veнculos (/showthread.php?tid=475977)



Nome nos veнculos - Chery - 16.11.2013

Queria colocar os nomes em veнculos pъblico mais estou com dificuldade, eu pesquisei e achei isso, alguem poderia me explica oque significa algumas funзхes.



Код:
new Text3D:vehicle3Dtext[MAX_VEHICLES],vehicle_id;
// Creating the TextLabel for later use
 
public OnGameModeInit ( )
{
    vehicle_id = CreateVehicle( 510, 0.0. 0.0, 15.0, 5, 0, 120 );
    vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "Example Text", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
    //Creating the Vehicle
    //Attaching Text Label To Vehicle
    Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , vehicle_id, 0.0, 0.0, 2.0);
}
public OnGameModeExit ( )
{
    Delete3DTextLabel( vehicle3Dtext[ vehicle_id ] );
    return true;
}



Re: Nome nos veнculos - JhnN - 16.11.2013

https://sampforum.blast.hk/showthread.php?tid=146175


Re: Nome nos veнculos - Chery - 16.11.2013

Gracias