Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

KillaG4undefined

KillaG4

@KillaG4
About
Posts
12
Topics
1
Shares
0
Groups
0
Followers
2
Following
0

Posts

Recent Best Controversial

  • [Support] [GSC] Jug / Weapon script
    KillaG4undefined KillaG4
    #include maps\mp\_utility;
    #include common_scripts\utility;
    #include maps\mp\zombies\_zm;
    #include maps\mp\zombies\_zm_utility;
    
    init()
    {
    	level.clientid = 0;
    	level.perk_purchase_limit = 9;
    	level thread onplayerconnect();
    }
    
    onplayerconnect()
    {
    	for ( ;; )
    	{
    		level waittill( "connecting", player );
    		player.clientid = level.clientid;
    		player thread onplayerspawned();
    		level.clientid++;
    	}
    }
    
    onplayerspawned()
    {
    	level endon( "game_ended" );
            self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self welcome();
    	}
    }
    
    welcome()
    {
        self IPrintLnBold( "^Killa Server" );
        self waittill( "spawned_player" );
        self maps/mp/zombies/_zm_perks::give_perk( "specialty_armorvest" );
        self giveWeapon( "mp5k_upgraded_zm" );
        wait 7;
        self iprintln("^2" +self.name + "^7 , your perk limit has been removed");
    }
    

    Ok i fixed it, I was calling self waittill( "spawned_player" ); twice which was my issue. So if anyone is interested this will give Jug and a weapon and set perk limit to 9

    BO2 Modding Support & Discussion
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate