Scripting/Squirrel/Functions/Player.Armour: 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.Armour</pre> <source lang=squirrel> function onPlayerCommand( player, cmd, text ); if ( cmd == "armour" ) { player.Armour = 200; MessagePla...")
 
Line 1: Line 1:
== Syntax ==
== Syntax ==


<pre>player.Armour</pre>
<pre>SetCinematicBorder( player, true );
 
SetCinematicBorder( player, false );</pre>
<source lang=squirrel>
function onPlayerCommand( player, cmd, text );
if ( cmd == "armour" )
  {
  player.Armour = 200;
  MessagePlayer( " Done " , player );  
  }
 
 
</source>

Revision as of 09:03, 25 July 2014

Syntax

SetCinematicBorder( player, true );
SetCinematicBorder( player, false );