OnPlayerRequestSpawn

From Vice City Multiplayer
Revision as of 11:49, 30 December 2015 by Decent 946 (talk | contribs) (Created page with "== Syntax == <pre>function onPlayerRequestSpawn( player )</pre> == Arguments == * ''Player'' '''player''' - The player tha...")
(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

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