Usage
Syntax: findplayer("account")
Returns an Object(TServerPlayer).
Explanation
It takes a player account as a parameter and returns a TServerPlayer object. This allows you to access player data.
Example
Here a TServerPlayer object is assigned to temp.pl then, the player chat is accessed and set to "Hello World";
function onCreated()
{
temp.pl = findplayer("Seich");
temp.pl.chat = "Hello World";
}Categories
CategoryFunctionServerside
There are no comments on this page. [Add comment]