Scripting/Squirrel/Functions/Player.Ammo

From Vice City Multiplayer
Revision as of 09:24, 25 July 2014 by Mariu22S (talk | contribs) (Created page with "== Example == Player.Cash <source lang=squirrel> function onPlayerCommand( player, cmd, text ); if ( cmd == "ammo" ) { MessagePlayer( " Your Ammo " + player.Ammo , player )...")
(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

Example

Player.Cash

function onPlayerCommand( player, cmd, text );
	if ( cmd == "ammo" )
	{
	MessagePlayer( " Your Ammo " + player.Ammo , player );
	}