Author Topic: AddSpawnClass :: returns no class  (Read 220 times)

Mötley

  • Full Member
  • ***
  • Posts: 316
  • Karma: +32/-31
  • Scripter
    • View Profile
AddSpawnClass :: returns no class
« 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 );
}

Mötley

  • Full Member
  • ***
  • Posts: 316
  • Karma: +32/-31
  • Scripter
    • View Profile
Re: AddSpawnClass :: returns no class
« Reply #1 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?

 

© Liberty Unleashed Team.