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

Motley

  • Full Member
  • ***
  • Posts: 253
  • Karma: +32/-34
    • 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 );
}

Motley

  • Full Member
  • ***
  • Posts: 253
  • Karma: +32/-34
    • 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?

Numthaneeya

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: AddSpawnClass :: returns no class
« Reply #2 on: December 14, 2018, 07:50:21 am »
This is new for me. I agree that it is very good. I have read it.

 

© Liberty Unleashed Team.