16.12.2013, 00:02
Hello... I have that problem:
In my server i have 20 NPC, all work correct, but... i change some plugins/includes/Transfer to 0.3x version and NPC lose all settings, i mean - They all have CJ's skin, not correct location, all stay "outside world", in mini-map now they all have color's... Maybe anyone know how fix it ?
Example:
Here you can see, SetPlayerPosEx, SetSpawnInfo, SetPlayerFacingAngle, SetPlayerSkin, all set correct...
(To bot's attached "/talk" cmd)
In my server i have 20 NPC, all work correct, but... i change some plugins/includes/Transfer to 0.3x version and NPC lose all settings, i mean - They all have CJ's skin, not correct location, all stay "outside world", in mini-map now they all have color's... Maybe anyone know how fix it ?
Example:
Here you can see, SetPlayerPosEx, SetSpawnInfo, SetPlayerFacingAngle, SetPlayerSkin, all set correct...
(To bot's attached "/talk" cmd)
Код:
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;
}

