Revision [741]

This is an old revision of findplayer made by SeichLeon on 2010-06-08 07:17:33.
 
Usage

Syntax: findplayer( str account)
Returns an TServerPlayer object .

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 ⚡