Scripting/Squirrel/Functions/Player.Armour

From Vice City Multiplayer
Jump to navigation Jump to search

Syntax

player.Armour

Example

The following example send a personal message saying Hey you, have fun here!:

function onPlayerCommand( player, cmd, text );
if ( cmd == "armour" )
    {
    player.Armour = 200;
    MessagePlayer( " Done " , player );
    }

Related Functions

Player Game Functions

These functions exist for compatibility with the R2 Squirrel server.