SpawnPlayer: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Syntax) |
||
Line 6: | Line 6: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool spawnPlayer ( player | bool spawnPlayer ( player thePlayer, element spawnpoint ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''thePlayer:''' the player to spawn | ||
*'''spawnpoint:''' the spawnpoint element at which to spawn the player | |||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | Returns ''true'' if the player was spawned successfully, ''false'' otherwise. | ||
==Example== | ==Example== |
Revision as of 08:15, 26 May 2006
This fake function is for use with blah & blah and does blahblahblabhalbhl
Syntax
bool spawnPlayer ( player thePlayer, element spawnpoint )
Required Arguments
- thePlayer: the player to spawn
- spawnpoint: the spawnpoint element at which to spawn the player
Returns
Returns true if the player was spawned successfully, false otherwise.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo