


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 released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
// Custom Weapon Script
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_zombiemode_net;
#using_animtree( "generic_human" );
init()
{
level thread load_on_player_connect();
}
load_on_player_connect()
{
for( ;; )
{
level waittill( "connecting", player );
player thread wait_for_gun_fired();
}
}
wait_for_gun_fired()
{
self endon( "disconnect" );
self waittill( "spawned_player" );
for( ;; )
{
self waittill("projectile_impact", weapon, location );
if ( weapon != "crossbow" )
{
continue;
}
if ( weapon == "crossbow" )
{
self thread gun_fired();
}
}
}
gun_fired()
{
iprintlnbold ("The Crossbow Has Been Fired");
}
self waittill("projectile_impact", weapon, location ); self waittill( "weapon_fired" );
getweapon = self GetCurrentWeapon();
if( getweapon == "crossbow" )
{
self thread gun_fired();
}
self waittill("projectile_impact", weapon, location ); 


![]() | 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. |
![]() Oil Rig Beta Access |
![]() | |
![]() | 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 |
level thread maps\_zombiemode_powerups::powerup_drop( power_up_origin );
level.zombie_vars["zombie_drop_item"] = 1;
level.powerup_drop_count = 0;
level thread maps\_zombiemode_powerups::powerup_drop( power_up_origin );