SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 18/03/2016, 01:04 PM   #1
ipsBruno
Godfather
 
ipsBruno's Avatar
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,084
Reputation: 546
Default FCNPC_GoToFixZ

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.
__________________
https://github.com/ipsBruno
ipsBruno is offline   Reply With Quote
Old 06/06/2016, 07:46 AM   #2
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Default Re: FCNPC_GoToFixZ

i can't see video but look good script fix for npc
Gasman is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 11:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.