



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!Aye mate you don't know me so y don't you shut tf up ok buddy
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Box Mappers Elite | |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
zombie_cash( drop_item )
{
players = get_players();
int = randomIntRange(10, 4000);
int = roundOff(int, 10, 5);
for(i=0;i<players.size;i++)
{
if(level.zombie_vars["zombie_point_scalar"] == 1)
{
players[i] maps\_zombiemode_score::add_to_player_score(int);
}
else
{
players[i] maps\_zombiemode_score::add_to_player_score(int*2);
}
}
}
case "zombie_cash":
level thread zombie_cash( self.origin );
zombie_cash( origin )
{
players = get_players();
int = randomIntRange(10, 4000);
int = roundOff(int, 10, 5);
for(i=0;i<players.size;i++)
{
if( distance(players[i].origin,origin) < 64 )
{
/*if(level.zombie_vars["zombie_point_scalar"] == 1)
{
players[i] maps\_zombiemode_score::add_to_player_score(int);
}
else
{
players[i] maps\_zombiemode_score::add_to_player_score(int*2);
}*/
// simplified; also allows you to have triple points if you want
players[i] maps\_zombiemode_score::add_to_player_score(int*["zombie_point_scalar"]);
}
}
}
case "zombie_cash":
level thread zombie_cash( self,players[i] );
// ·························································
zombie_cash( drop_item,player )
{
//players = get_players();
int = randomIntRange(10, 4000);
int = roundOff(int, 10, 5);
/*for(i=0;i<players.size;i++)
{
if(level.zombie_vars["zombie_point_scalar"] == 1)
{
players[i] maps\_zombiemode_score::add_to_player_score(int);
}
else
{
players[i] maps\_zombiemode_score::add_to_player_score(int*2);
}*/
// simplified; also allows you to have triple points if you want
player maps\_zombiemode_score::add_to_player_score(int*["zombie_point_scalar"]);
//}
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Box Mappers Elite | |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
~snip~