18.02.2014, 07:48
Hello !
I have problem with NPC...
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.
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;
}
They spawn beyond the world... Maybe everyone can help me ?
Sorry for my bad English.

