SA-MP Forums Archive
[Pedido] Actor - 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: [Pedido] Actor (/showthread.php?tid=632534)



Actor - Dimbalada - 15.04.2017

PHP код:
new MyActor//news na gm
public OnGameModeInit()
{
    
MyActor CreateActor(179316.1, -134.0999.690.0); // Actor as a salesperson in Ammunation.
    
if(IsValidActor(MyActor))
    {
        new 
Text3D:label Create3DTextLabel("Hello, I am new here!"0x008080FF30.040.050.040.00);
        
Attach3DTextLabelToPlayer(labelMyActor0.00.00.7);
    }
    return 
1;

tipo eu boto da maior erros ai tipo queria so criar tipo uma npc mais so ia fica parada nesse lugar 179, 316.1, -134.0, 999.6, 90.0


Re: Actor - didimk157 - 15.04.2017

n entendi '-'


Re: Actor - AuhMaru - 15.04.2017

Код:
CreateActor(179, 316.1, -134.0, 999.6, 90.0);
Create3DTextLabel("Nick_Actor", -1, 316.1, -134.0, 1000.6, 40, 0, 0);



Re: Actor - IlanZ - 15.04.2017

PHP код:
new MyActor;
public 
OnGameModeInit() 

    
MyActor CreateActor(179316.1, -134.0999.690.0); 
    new 
Text3D:label Create3DTextLabel("Hello, I am new here!"0x008080FF30.040.050.040.00); 
    
Create3DTextLabel("Hello, I am new here!"0x008080FF316.1, -134.0100115.00);
    
SetActorInvulnerable(MyActortrue);
    return 
1