Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Threaded Mode
GetPlayerGravity
Byrner
Big Clucker
Posts: 133
Threads: 16
Joined: Sep 2007
Reputation:
0
#1
20.07.2009, 14:55
I was just wondering if it's possible to check if a player is in the air or on the ground or w/e.
I'm sure you get me drift.
Find
Reply
woot
Gangsta
Posts: 785
Threads: 22
Joined: Jun 2007
Reputation:
0
#2
20.07.2009, 14:56
No.
Find
Reply
dice7
High-roller
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
#3
20.07.2009, 15:54
You could use something like this:
#1 GetPlayerPos
#2 Use SetPlayerPosFindZ with the saved x and y
#3 GetPlayerPos
#4 Set the player to It's original position (#1 GetPlayerPos)
#5 Compare the two Z's (#1 and #3)
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive