SpawnPlayer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


__NOTOC__  
__NOTOC__  
This fake function is for use with blah & blah and does blahblahblabhalbhl
This function spawns the player at a spawnpoint


==Syntax==  
==Syntax==  

Revision as of 08:17, 26 May 2006


This function spawns the player at a spawnpoint

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

See Also

Template:FunctionArea Functions