Est GetGravity

From EventScripts Community Encyclopedia
Syntax: est_GetGravity <variable> <userid>
Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Contents

Description

Stores the targeted players gravity ratio (default=1)

Parameters

  • variable - The variable to store the returned value in.
  • userid - The userid of the targeted player

Example


event player_spawn
{
  es_xset temp 0
  es est_GetGravity temp event_var(userid)
  es_tell event_var(userid) Your gravity ratio is: server_var(temp)
  // Tell the player their gravity ratio when they spawn
}

Notes

  • None

Also See

est_SetGravity

blog comments powered by Disqus