SA-MP Forums Archive
[Include] FCNPC_GoToFixZ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] FCNPC_GoToFixZ (/showthread.php?tid=603080)



FCNPC_GoToFixZ - ipsBruno - 18.03.2016

Description

This include is an simple function to Fix NPCS Z GROUND on bridge and elevations. I posted here because i will update this function if need.

The parameteres to use is the same of the FCNPC_GoTo, but this function will decide for you if MapAndreas is correct and usable.


1 - You need load MapAndreas into FCNPC library

PHP Code:
MapAndreas_InitMAP_ANDREAS_MODE_FULL                        );
FCNPC_InitMapAndreas(MapAndreas_GetAddress()); 
2 - You need ColAndreas to detect Z ground with precision
PHP Code:
CA_Init(); 



Videos

FCNPC_GoToFixZ
[ame]http://www.youtube.com/watch?v=63ZHBDSAP_g[/ame]

FCNPC_GoTo
[ame]http://www.youtube.com/watch?v=ch_WBKL7RDs[/ame]






Download

0.1

-- http://pastebin.com/TNnJap7S

Any updates or great optimizations to it, please, post here.


Sorry my poor English.


Re: FCNPC_GoToFixZ - Gasman - 06.06.2016

i can't see video but look good script fix for npc