OnPlayerAwayChange: 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
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
function onPlayerAwayChange( player, NewStatus )
{
  if ( NewStatus == true )  
  if ( NewStatus == true )  
  {
  {
Line 10: Line 7:
  Message(""+player.Name+" Is Now Back!");
  Message(""+player.Name+" Is Now Back!");
  }
  }
== Related Functions ==
{{Scripting/Squirrel/Events/Player_Events}}
[[Category:Scripting/Squirrel/Events/Player_Events]]

Latest revision as of 22:16, 30 January 2017

if ( NewStatus == true ) 
{
Message("" +player.Name+" will be right back.");
}
else if ( NewStatus == false )
{
Message(""+player.Name+" Is Now Back!");
}

Related Functions