Revision [739]

This is an old revision of findplayer made by SeichLeon on 2010-06-07 12:10:40.
 
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]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
⚡ WEB1 (144.76.42.176) — Testing Environment ⚡