



Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
#include maps\_utility;
#include common_scripts\utility;
init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
for(;;)
{
level waittill( "connecting", player );
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
}
}
#include maps\_utility;
#include common_scripts\utility;
init()
{
ent = GetEnt("item_kvp", "search_kvp");
ent thread trigger_func();
//For triggers with multiple instances.
//ent_array = GetEntArray("item_kvp", "search_kvp");
//array_thread(ent_array, ::trigger_func);
level thread onPlayerConnect();
}
onPlayerConnect()
{
for(;;)
{
level waittill( "connecting", player );
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;;)
{
self waittill( "spawned_player" );
}
}
trigger_func()
{
level endon("end_game");
while(IsDefined(self))
{
self waittill("trigger", entity);
if(!maps\_zombiemode_utility::is_player_valid(entity))
{
wait(0.1);
continue;
}
}
}