Player.LUID

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function returns the Player LUID

Syntax

  1. Player.LUID

Example

This command shows your UID.

  1.  
  2. function onPlayerCommand ( pPlayer, szCommand, szParams ) {
  3.  
  4. switch ( szCommand ) {
  5.  
  6. case "myuid": {
  7.  
  8. MessagePlayer ( "Your UID is: " + pPlayer.LUID, pPlayer );
  9.  
  10. return;
  11. }
  12. }
  13. }
  14.  

Notes

The function LUID 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