ScreenPosToWorld

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function returns a position in the GTA world from a position on screen.

Syntax

  1. Vector ScreenPosToWorld( Vector pos )
  1. Vector ScreenPosToWorld( float x, float y )

Arguments

  • pos - The 2D position on screen of where to check

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation for the example

  1.  
  2. -- Todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox