Scripting/Squirrel/Events/Player/onPlayerRconLogin
From VC-MP Wiki
This event is called when a player successfully logs in as an RCON admin.
Syntax
function onPlayerRconLogin( player )
Parameters
- player - The pointer of the player
Example
This example announces the player that they successfully logged in.
function onPlayerRconLogin( player ) { Announce( "Logged in as an admin", player ); }
Notes
The function Announce was also used in in this example. More info about it in the corresponding page.
Related Events
- onPlayerJoin
- onPlayerPart
- onPlayerCrashDump
- onPlayerSpawn
- onPlayerDeath
- onPlayerKill
- onPlayerTeamKill
- onPlayerChat
- onPlayerAction
- onPlayerPM
- onPlayerFailedPM
- onPlayerTeamChat
- onPlayerCommand
- onPlayerHealthChange
- onPlayerArmourChange
- onPlayerWeaponChange
- onPlayerCashChange
- onPlayerScoreChange
- onPlayerKeyStateChange
- onPlayerMove
- onPlayerRequestClass
- onPlayerRequestAmmunation
- onPlayerRequestAmmuWeapon
- onPlayerStartSpectating
- onPlayerExitSpectating
- onPlayerRconLogin
- onPlayerRconLoginAttempt
- onPlayerFall
- onPlayerVersion
