[Pedido] Actor
#1

PHP код:
new MyActor; //news na gm
public OnGameModeInit()
{
    
MyActor = CreateActor(179, 316.1, -134.0, 999.6, 90.0); // Actor as a salesperson in Ammunation.
    
if(IsValidActor(MyActor))
    {
        new 
Text3D:label = Create3DTextLabel("Hello, I am new here!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
        
Attach3DTextLabelToPlayer(label, MyActor, 0.0, 0.0, 0.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
Reply
#2

n entendi '-'
Reply
#3

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

PHP код:
new MyActor;
public 
OnGameModeInit() 
{ 
    
MyActor = CreateActor(179, 316.1, -134.0, 999.6, 90.0); 
    new 
Text3D:label = Create3DTextLabel("Hello, I am new here!", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); 
    
Create3DTextLabel("Hello, I am new here!", 0x008080FF, 316.1, -134.0, 1001, 15.0, 0);
    
SetActorInvulnerable(MyActor, true);
    return 
1; 
} 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)