Scripting/Squirrel/Events/Player/onPlayerRconLogin

From VC-MP Wiki

Jump to: navigation, search

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

Personal tools
squirrel scripting