SA-MP Forums

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

Thread Tools Display Modes
Old 28/05/2015, 03:12 AM   #21
cessil's Avatar
Join Date: Apr 2009
Posts: 1,353
Reputation: 296
Default Re: Detect Driving on the wrong side of the road

Originally Posted by kkeeii View Post
SF only? Or all city?
all of san andreas

Originally Posted by ipsLeon View Post
Very nice, nice usage for GTA:SA nodes info. By the way, is there a file or array for onfoot nodes (sidewalk)? I ever wanted to do some stuff like pedestrian npcs using these nodes but never knew if there is some sidewalk nodes to work with. Really impressive work, thanks for sharing.

@Edit: I've been reading gta wikia and saw that all the nodes are inside .dat files into gta3.img, I would like to know what are the files for onfoot nodes... Sorry for the stupid question, I should read more about it before asking.
I decompiled the nodes using Aschratt's APE and each node had a count of how many connections it had, so the first node has 2 connections, which were the first 2 of the links sections (it'll make sense if you have the decompiled nodes in notepad++) which are just indexes of the connections

so first node has 2 connections
links section is something like this

so the first node has the connections 102 and 6 which are the 102nd node and the 6th node in the node section.

node 2 also has 2 connections, which would be 26 and 18 since node 1 has the first 2 connections.

I haven't messed with the ped nodes but I'd assume its the same setup
cessil is offline   Reply With Quote
Old 28/05/2015, 03:49 AM   #22
Little Clucker
Join Date: May 2015
Posts: 13
Reputation: 0
Default Re: Detect Driving on the wrong side of the road

Wooow , this good for some mods ,

! Very Nice !10/10
There is nothing to watch!
Expressovec is offline   Reply With Quote

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
|Help| Wrong side of the Tracks The God Scripting Help 3 25/08/2014 09:52 AM
[HELP] The tram is driving on the wrong street side! Pasa Scripting Help 2 02/01/2013 06:19 PM
[BUG]NPC Tram driving the wrong way. rbN. Help Archive 1 30/11/2010 07:35 PM

All times are GMT. The time now is 03:35 PM.

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