SpawnPlayer

From Multi Theft Auto: Wiki
Revision as of 08:24, 26 May 2006 by Erorr404 (talk | contribs)
Jump to navigation Jump to search


NOTE: need another spawnPlayer function for 'bool spawnPlayer ( player thePlayer, int x, int y, int z, int rotation, int skinID )' 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