User Tools

Site Tools


en:suckerserv:functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:suckerserv:functions [2011/09/11 13:09]
piernov Added player_accuracy2
en:suckerserv:functions [2014/05/31 00:27] (current)
Line 61: Line 61:
 | server.player_msg(cn,​ text) | nil | Send a server message to a player.| | server.player_msg(cn,​ text) | nil | Send a server message to a player.|
 | server.player_slay(cn) | nil | Kill a player; their stats aren't affected.| | server.player_slay(cn) | nil | Kill a player; their stats aren't affected.|
-| server.player_suicide(cn) | nil || +| server.player_suicide(cn) | nil | Force a player to suicide, which will affect their game stats. |
-| server.player_priv_code(cn) | nil | Force a player to suicide, which will affect their game stats.|+
 | server.changeteam(cn,​ team) | boolean | Move a player to another team.| | server.changeteam(cn,​ team) | boolean | Move a player to another team.|
 | server.kick(cn,​[bantime],​[admin],​[reason]) | nil | Kick and ban a player from the server. Argument defaults: bantime=4 hours, admin="​server",​ reason=""​.| | server.kick(cn,​[bantime],​[admin],​[reason]) | nil | Kick and ban a player from the server. Argument defaults: bantime=4 hours, admin="​server",​ reason=""​.|
Line 74: Line 73:
 | server.setadmin(cn) | nil | Give a player admin privilege. Note: only 1 visible master/​admin is supported.| | server.setadmin(cn) | nil | Give a player admin privilege. Note: only 1 visible master/​admin is supported.|
 | server.unsetmaster() | nil | Take away master privilege from the current master.| | server.unsetmaster() | nil | Take away master privilege from the current master.|
-| server.set_invadmin(cn) | nil | Give player admin status, but is invisible to other players.| +| server.set_invisible_admin(cn) | nil | Give player admin status, but is invisible to other players.| 
-| server.set_invmaster(cn) | nil | Give player master status, but is invisible to other players.|+| server.set_invisible_master(cn) | nil | Give player master status, but is invisible to other players.|
 | server.unsetpriv(cn) | nil | Take away player'​s master or admin privilege. This function should work on all privilege configurations.| | server.unsetpriv(cn) | nil | Take away player'​s master or admin privilege. This function should work on all privilege configurations.|
  
en/suckerserv/functions.1315739372.txt.bz2 · Last modified: 2014/05/31 00:26 (external edit)