Difference between revisions of "FIND STREET NAME AT POSITION"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |game = 4 |noheader = 0 |np = 5 |p1t = float |p1d = x |p2t = float |p2d = y |p3t = float |p3d = z |p4t = unsigned integer...")
 
 
Line 16: Line 16:
 
}}
 
}}
  
This native will give you two hashes for the street you are on. To convert the hashes to strings, use the [[GET_STRING_FROM_HASH_KEY]] native.
+
This native will give you two hashes for the street you are on (''parameters 4 and 5''). To convert the hashes to strings, use the [[GET_STRING_FROM_HASH_KEY]] native.

Latest revision as of 13:28, 26 August 2014

FIND_STREET_NAME_AT_POSITION
Number of parameters: 5
Parameter #TypeDescription
1.floatx
2.floaty
3.floatz
4.unsigned integervariable to store place 1
5.unsigned integervariable to store place 2
Return value:
TypeDescription
None

This native will give you two hashes for the street you are on (parameters 4 and 5). To convert the hashes to strings, use the GET_STRING_FROM_HASH_KEY native.