Squirrel/Server/Functions/SpawnClass/AddSpawnClass
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|AddSpawnClass}} This function adds a new spawnclass to the game. Used in the spawnscreen == Syntax == <code>SpawnClass AddSpawnClass( int skin, int team, Vecto…') |
Revision as of 14:47, 15 October 2010
This function adds a new spawnclass to the game. Used in the spawnscreen
Syntax
SpawnClass AddSpawnClass( int skin, int team, Vector pos, float angle, int col, int spawnscreen )
Arguments
- skin - The skin ID to spawn as
- team - The team ID of the spawn
- pos - The location the class will spawn at
- angle - The angle the spawn will be facing when spawned
- col - The spawns colour, used in the nickname and radar blip
- spawnscreen - The spawn screen to use.
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation for the example
-- Todo
Notes
-- List of used functions and other notes here.