Scripting/Squirrel/Functions/Player.Name

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

Syntax

player.Name

Example

function onPlayerCommand( player, cmd, text );
if ( cmd == "myname" )
   {
   MessagePlayer( "Your Nick is " + player.Name , player ); 
   }