Skip to main content

FIND_STREET_NAME_AT_POSITION

Game.FindStreetNameAtPositionHash0x49763A4F
Usage
local hashName1, hashName2 = Game.FindStreetNameAtPosition(x, y, z)

Finds the two nearest nodes that have a road name set up for them.

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat

Returns

  • hashName1integerint*
  • hashName2integerint*
Original declaration
// 0x49763A4F
void FIND_STREET_NAME_AT_POSITION(float x, float y, float z, int* hashName1, int* hashName2);