SA-MP Forums Archive
[AJUDA]Bot... - 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]Bot... (/showthread.php?tid=350523)



[AJUDA]Bot... - Jake_Dunlapp - 12.06.2012

Como faзo para conectar um bot em um certo ponto para ele ficar paradгo la sem se mecher so parado mesmo acho que deve ser simples//tambem quero seta a skin dele


Re: [AJUDA]Bot... - Delete_ - 12.06.2012

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


Re: [AJUDA]Bot... - Jake_Dunlapp - 12.06.2012

pawn Код:
//Npcs//
    ConnectNPC("Stranger","Vendedor");
pawn Код:
if(IsPlayerNPC(playerid)) {                   //Verifica se o jogador й um NPC.
            SetPlayerPos(playerid,1197.3656,-2341.2937,14.0923);
            SetPlayerSkin(playerid, 213);
        }
O problema й que o npc nao aparece no local :X


Re: [AJUDA]Bot... - ViictorDaay- - 12.06.2012

editou o server.cfg?


Re: [AJUDA]Bot... - Jake_Dunlapp - 12.06.2012

o que tenho que editar no svr cfg?


Re: [AJUDA]Bot... - ViictorDaay- - 12.06.2012

maxnpc


Re: [AJUDA]Bot... - Mr.Hardy - 12.06.2012

Coloca no seu svr cfg..
maxnpc [numero mбximo de npcs]
eu uso maxnpc 1
Porque eu sу uso 1 mesmo!

Em npcmodes cria um arquivo pawn chamado "Vendedor" contendo
@EDIT - e compile!

pawn Код:
#include <a_npc>
//------------------------------------------

main(){}

//------------------------------------------
//------------------------------------------

public OnRecordingPlaybackEnd()
{
}

//------------------------------------------

public OnNPCSpawn()
{

}

//------------------------------------------

public OnNPCExitVehicle()
{
}

//------------------------------------------



Re: [AJUDA]Bot... - Jake_Dunlapp - 12.06.2012

Gente Funfou perfect + uma ajudinha aki http://dl.dropbox.com/u/84367144/bmvindo.wav botei isso na dialog so que demora pakas pra o som aparecer falando WELCOME//como diminuo o tempo?