[Ajuda] Ajuda Npc Logando E Saindo - 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] Ajuda Npc Logando E Saindo (
/showthread.php?tid=369953)
Ajuda Npc Logando E Saindo -
[FFC]Twister - 18.08.2012
Galera venho aki pedindo um help tipo eu criei o npc tudo certinho e tals ele roda em meu sv tdm e tudo sem erro
porem fui passa ele pra um servidor rpg de um amigo e editamos tudo certinho server.cfg tudo msm
e no entanto o npc loga e sai na msm hr praticamente
alguem poderia me informa pq desse problema ?
vlw
pawn Код:
#include <a_samp>
#define COLOR_GREEN 0x33AA33AA
new npcbus;
public OnGameModeInit()
{
ConnectNPC("npcbus","npcbus");
npcbus =AddStaticVehicle(437,-1988.0057,116.6116,27.6411,0.6686,75,59);
print(" Npc npcbus Bmc Pack Loaded!");
print(" By:twister!");
return 1;
}
public OnPlayerSpawn(playerid)
{
if(!IsPlayerNPC(playerid)) return 0;
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"npcbus",true)) {
SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
PutPlayerInVehicle(playerid, npcbus,0);
new Text3D:Coach = Create3DTextLabel("NPC_npcbusDriver(ID:2)",0x33AA33AA,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(npcbus, playerid, 0.0, 0.0, 0.5);
}
return 1;
}
Re: Ajuda Npc Logando E Saindo -
_LorD_ - 18.08.2012
Help aew tbm preciso disso e estou com o msm igualzinho erro. =S Tenso
Re: Ajuda Npc Logando E Saindo -
Kuddy - 18.08.2012
Tenta colocar no OnPlayerConnect do gamemode: if(IsPlayerNPC(playerid)) return 1;
Re: Ajuda Npc Logando E Saindo -
Tony_Rodrigues - 18.08.2012
Talvez ele nгo queria jogar kkkkkk