[Ajuda] Como criar NPCs ou BOTs de ajudas a novatos ?
#1

Como crio BOTs ou NPCs de ajudas que fica em um local que quando o player for atй o bot apertar " F " ai abre uma janelinha de ajuda ?
Reply
#2

Nгo entendo, vocкs postam a lуgica inteira do sistema e perguntam como fazer, wtf? Й sу seguir os passos que vocк mesmo citou e procurar as funзхes / callbacks que se referem a cada passo.

https://sampwiki.blast.hk/wiki/CreateActor
https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
Reply
#3

Quote:
Originally Posted by ipsLeon
Посмотреть сообщение
Nгo entendo, vocкs postam a lуgica inteira do sistema e perguntam como fazer, wtf? Й sу seguir os passos que vocк mesmo citou e procurar as funзхes / callbacks que se referem a cada passo.

https://sampwiki.blast.hk/wiki/CreateActor
https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
kk pra tu ver...
Reply
#4

Isso й mais fбcil que tirar doce de crianзa.... sйrio.
Reply
#5

sу nгo entendi como colocar colocar a texlabel em cima do NPC me ajudem
Reply
#6

PHP код:
new MyActor;
 
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;

Reply
#7

IpsLuan , Obrigado deu certo :3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)