SA-MP Forums Archive
Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer (/showthread.php?tid=383257)



Streamer - CrazyChoco - 06.10.2012

Well hello folks!

I am trying to make this:
pawn Код:
CMD:test(playerid, params[])
{
    new PlayerText3D:playertextid;
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos( playerid, X, Y, Z );
    playertextid = Create3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,40.0);
    return 1;
}
into a streamer dynamic text label, but i dunno how.

Anyone knows it?


Re: Streamer - CrazyChoco - 07.10.2012

Anyone ?


Respuesta: Streamer - WCrimson - 07.10.2012

Create3DTextLabel:
Creates a 3D Text Label at a specific location in the world.

PHP код:
CMD:test1(playeridparams[])
{
    new
        
Float:fPos[3],
        
Text3D:myText3D;
    
GetPlayerPosplayeridfPos[0], fPos[1], fPos[2]);
    
myText3D Create3DTextLabel("Hello\nI'm at your position"0x008080FFfPos[0], fPos[1], fPos[2], 00);
    return
        
int:SendClientMessage(playerid0xFF#TextLabel ЎCreated!);

________ Now
CreatePlayer3DTextLabel:
Creates a 3D Text Label only for a specific player.

PHP код:
CMD:test2(playeridparams[])
{
    new
        
Float:fPos[3],
        
PlayerText3D:myText3D;
    
GetPlayerPosplayeridfPos[0], fPos[1], fPos[2]);
    
myText3D CreatePlayer3DTextLabel(playerid"Hello\nI'm at your position"0x008080FFfPos[0], fPos[1], fPos[2], 40.0INVALID_PLAYER_IDINVALID_VEHICLE_ID0);
    return
        
int:SendClientMessage(playerid0xFF#TextLabel ЎCreated!);




Re: Streamer - CrazyChoco - 07.10.2012

I asked about CreateDynamicTextLabel or w/e it is called, any ideas?