29.09.2017, 18:45
Do you have MapAndreas enabled in FCNPC?
Also, when a NPC finds an obstacle his facing angle SHOULD be inverted, not randomly changed. Doing so will eventually cause you an headache.
Код:
FCNPC_ToggleMapAndreasUsage()
Код:
new inverted_angle = (floatround(FCNPC_GetAngle(npcid)) + 180) % 360; FCNPC_SetAngle(npcid, float(inverted_angle));