Liberty Unleashed

Scripting => Script Help => Topic started by: Motley on November 07, 2016, 02:05:47 am

Title: AddSpawnClass :: returns no class
Post by: Motley on November 07, 2016, 02:05:47 am
Any Idea of why would be nice, No class is ever added..
Code: [Select]
function onScriptLoad()
{
/* AddSpawnClass( int skin, int team, Vector pos, float angle, int col, int spawnscreen ) */

AddSpawnClass( 1, 1, Vector(98.45, -954.50, 26.16), 90.0, Colour( 24, 255, 241 ), 1 );
AddSpawnClass( 2, 2, Vector(98.45, -954.50, 26.16), 90.0, Colour( 24, 255, 241 ), 1 );
AddSpawnClass( 3, 3, Vector(98.45, -954.50, 26.16), 90.0, Colour( 24, 255, 241 ), 1 );
}
Title: Re: AddSpawnClass :: returns no class
Post by: Motley on November 07, 2016, 04:42:03 am
Hm, I do see it working now, The only issue is with calling it onServerStart() is a default class is created "Claude".

Maybe I am going about a team death match wrongly?
Title: Re: AddSpawnClass :: returns no class
Post by: Numthaneeya on December 14, 2018, 07:50:21 am
This is new for me. I agree that it is very good. I have read it.