Scripting/Squirrel/Functions/Player.UniqueID2

From Vice City Multiplayer
Revision as of 14:38, 27 February 2016 by Ysc3839 (talk | contribs) (Created page with "This will return player Unique ID. == Syntax == <pre>string player.UniqueID2</pre> == Example == <source lang=squirrel> function onPlayerJoin( player ) { ClientMessage...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This will return player Unique ID.

Syntax

string player.UniqueID2

Example

function onPlayerJoin( player )
{
     ClientMessage( "pm >> Your Unique ID: " + player.UniqueID2, player, 0, 255, 0 );
}

Notes

Function ClientMessage and call onPlayerJoin were used in this example. More info about them in the corresponding pages.

Related Functions

Player Game Functions

These functions exist for compatibility with the R2 Squirrel server.