UnbanLUID

From Liberty Unleashed Wiki
Revision as of 00:59, 26 August 2014 by XMerkel 2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function unban the UID provided

Syntax

  1. UnbanLUID ( string UID )

Arguments

  • UID - The UID to unban

Example

Unban a UID when player types /unbanuid < uid >

  1.  
  2. function onPlayerCommand ( pPlayer, szCommand, szParams ) {
  3.  
  4. switch ( szCommand ) {
  5.  
  6. case "unbanuid": {
  7.  
  8. UnbanLUID ( szParams );
  9.  
  10. return;
  11. }
  12. }
  13. }
  14.  

Notes

The function UnbanLUID and call onPlayerCommand were used in in this example. More info about them in corresponding pages.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox