Scripting/Squirrel/Functions/Player.Ammo: 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 "== Example == Player.Cash <source lang=squirrel> function onPlayerCommand( player, cmd, text ); if ( cmd == "ammo" ) { MessagePlayer( " Your Ammo " + player.Ammo , player )...")
(No difference)

Revision as of 09:24, 25 July 2014

Example

Player.Cash

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