GetPlayerFromNick
Jump to navigation
Jump to search
Description
This function returns a player object from a name.
Syntax
player FindPlayer ( string name )
Required Arguments
- name: A string containing the name of the player you want to reference
Example
player = getPlayerFromNick ( "Vandalite" ) if ( killPlayer ( player ) ) then serverChat ( "Vandalite was found, and eliminated" ) end