Scripting/Squirrel/Client Events/Player::PlayerShoot

From Vice City Multiplayer
Revision as of 22:31, 1 June 2017 by Kennedyarz (talk | contribs) (→‎Example)
(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

Appears when the player fires

Syntax

player - The instance.

Arguments

None.

Example

Appears when the player fires

function Player::PlayerShoot(player, weapon, hitEntity, hitPosition)

{

Console.Print( player.ID + " Attacking. weapon "+weapon+"" );

}

Notes

This server-client