

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!#using scripts\zm\_zm_score;
zm_usermap::main();
thread speed();
function speed()
{
trigger = GetEnt("SpeedTrigger", "targetname");
trigger SetHintString("Press ^3&&1^7 For Speed [cost 10000");
trigger SetCursorHint("HINT_NOICON");
SpeedCost = 10000; // Edit the value to change how mutch points its gonna cost
while(1)
{
trigger waittill("trigger", player);
if(player.score >= SpeedCost && !isDefined(player.is_speed))
{
player zm_score::minus_to_player_score(SpeedCost);
player PlayLocalSound( "cha_ching" );
player SetMoveSpeedScale(2);
player.is_speed = true;
trigger SetHintStringForPlayer( player, "You Are Already in Speed Mode" );
player iprintlnbold("Speed mode for 10 minutes GO SUPER SAIYAN");
player thread speed_cooldown(trigger);
wait(2);
}
else if( isDefined(player.is_speed) && player.is_speed )
{
}
else
{
trigger SetHintStringForPlayer( player, "You Need "+SpeedCost+" points to Enable Speed Mode" );
trigger PlayLocalSound ( "deny" );
wait(2);
trigger SetHintStringForPlayer(player, "Press ^3&&1^7 For Speed Mode");
}
}
}
function speed_cooldown(trigger)
{
wait(600); // Edit this for the cooldown value 1 = 1 second
self.is_speed = undefined;
self SetMoveSpeedScale(1);
self iprintlnbold( "Speed Mode Disabled You can buy again in 45 sec" );
trigger SetHintStringForPlayer( self, "Comback later!" );
wait (45);
trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}
function speed_cooldown(trigger)
{
wait(600); // Edit this for the cooldown value 1 = 1 second
self.is_speed = undefined;
self SetMoveSpeedScale(1);
self iprintlnbold( "Speed Mode Disabled You can buy again in 45 sec" );
trigger SetHintStringForPlayer( self, "Comback later!" );
wait (45);
trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}
function speed_cooldown(trigger)
{
wait(600); // Edit this for the cooldown value 1 = 1 second
self.is_speed = undefined;
self SetMoveSpeedScale(1);
self iprintlnbold( "Speed Mode Disabled" );
trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}
![]() | 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 which have been added to the UGX Map Manager. |
![]() | 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. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I just installed this on my main test map and it worked fine. But when I came to installing it in a BLANK new map I get this error when compiling
(Image removed from quote.)
#using scripts\zm\_zm_score;