Squirrel/Client/Functions/Misc/ScreenPosToWorld

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|ScreenPosToWorld}} This function returns a position in the GTA world from a position on screen. == Syntax == <code>Vector ScreenPosToWorld( Vector pos )</code>…')
 

Latest revision as of 12:35, 15 October 2010

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.

[edit] Syntax

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

[edit] Arguments

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

[edit] 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.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox