OnPlayerRequestSpawn: 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 "== Syntax == <pre>function onPlayerRequestSpawn( player )</pre> == Arguments == * ''Player'' '''player''' - The player tha...")
(No difference)

Revision as of 11:49, 30 December 2015

Syntax

function onPlayerRequestSpawn( player )

Arguments

  • Player player - The player that uses command.


Example

function onPlayerRequestSpawn( player )
{
MssagePlayer( " please register by /register <password> to access the service", player );
}


Notes

The function MessagePlayer and call onPlayerRequestSpawn were used in this example. More info about them in corresponding pages.

Related Events