Scripting/Squirrel/Functions/Player.Key

From Vice City Multiplayer
Revision as of 08:20, 25 July 2014 by Mariu22S (talk | contribs) (Created page with "== Syntax == <pre>player.Key</pre> <source lang=squirrel> function onPlayerCommand( player, cmd, text ); if ( cmd == "key" ) { MessagePlayer( "Your key is " + player.K...")
(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

Syntax

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