/*
* Black Ops 2 - GSC Studio by iMCSx
*
* Creator : dahacka666
* Project : Test Code
* Mode : Zombies
* Date : 2016/03/21 - 00:00:08
*
*/
#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\gametypes_zm\_hud_util;
#include maps\mp\gametypes_zm\_hud_message;
init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
for(;
{
level waittill("connected", player);
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon("disconnect");
level endon("game_ended");
for(;
{
self waittill("spawned_player");
wait 2.5;
self iprintln("^2Test Spawn Message with Delay");
self thread TestThread();
}
}
TestThread()
{
if(self ActionSlotOneButtonPressed())
{
self thread TestPrint();
}
}
TestPrint()
{
self iprintln("^2Test");
}
TestThread()
{
for(;
{
if(self ActionSlotOneButtonPressed())
{
self thread TestPrint();
}
wait .05;
}
}
TestThread()
{
for(;
{
if(self ActionSlotOneButtonPressed())
{
self thread TestPrint();
}
wait .05;
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.