[NOT SOLVED] Npc disappear bug
#5

I have only 1npc
and this is my npc script

OnPlayerSpawn

Quote:

if(IsPlayerNPC(playerid))
{

new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Zak", true))
{
SetPlayerPos(playerid, 2448.1091,-1963.3397,13.5469);
SetPlayerSkin(playerid, 125);
SetPlayerTeam(playerid, 255);
SetPlayerFacingAngle(playerid, 171.5765);
}

OnGameModeInit:

Код:
ConnectNPC("Zak","npcidle");
And if(IsPlayerNpc(playerid)) return 1;
in some public's

Reply


Messages In This Thread
[NOT SOLVED] Npc disappear bug - by Ben147 - 21.04.2010, 14:26
Re: Npc disappear bug - by DJDhan - 21.04.2010, 15:48
Re: Npc disappear bug - by Stunt-Andreas - 21.04.2010, 15:50
Re: Npc disappear bug - by DJDhan - 21.04.2010, 16:16
Re: Npc disappear bug - by Ben147 - 21.04.2010, 19:13
Re: Npc disappear bug - by Torran - 21.04.2010, 19:15
Re: Npc disappear bug - by Ben147 - 21.04.2010, 19:25
Re: [NOT SOLVED] Npc disappear bug - by CAR - 21.04.2010, 19:49
Re: [NOT SOLVED] Npc disappear bug - by Ben147 - 21.04.2010, 19:55
Re: [NOT SOLVED] Npc disappear bug - by Ben147 - 21.04.2010, 22:03
Re: [NOT SOLVED] Npc disappear bug - by Ben147 - 22.04.2010, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)