Problem with NPC
#1

Hello !

I have problem with NPC...

Код:
                else if(!strcmp(npcname,"Molly_Nilson",true))
		{
			NPC[2] = playerid;
			SetPlayerPosEx(NPC[2], 359.7139,173.5689,1008.3893);
			SetPlayerColor(NPC[2],TEAM_HIT_COLOR);
			SetSpawnInfo(NPC[2], 0, 76,0.0,0.0,0.0,0,0,0,0,0,0,0);
			SetPlayerFacingAngle(NPC[2], 266.9489);
			SetPlayerSkin(NPC[2], 76);
			return 1;
		}
Here u can see, i set PlayerPos, Color, Spawn, Skin, but... All 20 bots lose coordinates, color's, skin's...

They spawn beyond the world... Maybe everyone can help me ?

Sorry for my bad English.
Reply


Messages In This Thread
Problem with NPC - by Angel01 - 18.02.2014, 07:48
Re: Problem with NPC - by GamemodeRP123 - 18.02.2014, 07:51
Re: Problem with NPC - by Yashas - 18.02.2014, 07:56
Re: Problem with NPC - by Raza2013 - 18.02.2014, 07:59
Re: Problem with NPC - by Angel01 - 18.02.2014, 08:00
Re: Problem with NPC - by Angel01 - 18.02.2014, 08:15
Re: Problem with NPC - by GamemodeRP123 - 18.02.2014, 08:20
Re: Problem with NPC - by Cvnnor - 18.02.2014, 08:22
Re: Problem with NPC - by Angel01 - 18.02.2014, 08:42
Re: Problem with NPC - by Angel01 - 20.02.2014, 16:20

Forum Jump:


Users browsing this thread: 1 Guest(s)