SpawnPlayer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 6: Line 6:
==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool spawnPlayer ( player player, spawnpoint spawnpoint )          
bool spawnPlayer ( player player, float x, float y, float z, float rotation, int skin )            
</syntaxhighlight>  
</syntaxhighlight>  



Revision as of 22:29, 20 May 2006


This fake function is for use with blah & blah and does blahblahblabhalbhl

Syntax

bool spawnPlayer ( player player, float x, float y, float z, float rotation, int skin )             

Required Arguments

  • argumentName: description

Optional Arguments

NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.

  • argumentName2: descriptiona
  • argumentName3: description

Returns

Returns true if blah, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also

Template:FunctionArea Functions