Scripting/Squirrel/Functions/Player.ID: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== Syntax == <pre>player.ID</pre> <source lang=squirrel> function onPlayerCommand( player, cmd, text ); if ( cmd == "myid" ) { MessagePlayer( "Your ID is " + player.ID...")
(No difference)

Revision as of 08:18, 25 July 2014

Syntax

player.ID
function onPlayerCommand( player, cmd, text );
if ( cmd == "myid" )
   {
   MessagePlayer( "Your ID is " + player.ID , player ); 
   }