Squirrel/Client/Functions/Misc/ScreenPosToWorld
From Liberty Unleashed Wiki
(Difference between revisions)
(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
This function returns a position in the GTA world from a position on screen.
[edit] Syntax
Vector ScreenPosToWorld( Vector pos )
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
-- Todo
[edit] Notes
-- List of used functions and other notes here.