UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

UGX Mod Gun game

broken avatar :(
Created 12 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
2,810 views
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
Hello, how would i disable a funchen in a script if a player was in gun game or any other game mode? also just makeing 100% sure but i am talking about the ugx mod so if theres anyone that could help me i would be happy :D  :P
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
You need to be more specific.

Are you asking how to tell if the players are currently in Gun Game? If so:
Code Snippet
Plaintext
if(level.ugxm_settings["gamemode"] == 1)
{
    //Current gamemode is gun game, do something
}
else
{
    //They are playing something other than gun game, do something else.
}

Gamemode int ID list for UGX Mod v1.0.3:
0: Classic
1: Gungame
2: Arcademode
3: Sharpshooter
4: Bounty Hunter
broken avatar :(
×
broken avatar :(
Relentless Mapper
Location: ar
Date Registered: 21 August 2011
Last active: 3 days ago
Posts
1,323
Respect
Forum Rank
Zombie Colossus
Primary Group
Nuclear
My Groups
More
Personal Quote
This game isn't meant to be played
×
KDXDARK's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Nuclear
Nuclear
DARKLEGION's requested title
Mapper Has released one or more maps to the UGX-Mods community.
KDXDARK's Contact & Social Links
You need to be more specific.

Are you asking how to tell if the players are currently in Gun Game? If so:
Code Snippet
Plaintext
if(level.ugxm_settings["gamemode"] == 1)
{
    //Current gamemode is gun game, do something
}
else
{
    //They are playing something other than gun game, do something else.
}

Gamemode int ID list for UGX Mod v1.0.3:
0: Classic
1: Gungame
2: Arcademode
3: Sharpshooter
4: Bounty Hunter
sorry for ask this here but if i use timed gameplay?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
sorry for ask this here but if i use timed gameplay?
I believe the variable you want to check for that is

Code Snippet
Plaintext
level.ugxm_settings["timed_gameplay"];

I'm not home so I can't check it. If that doesn't work, open the UGX Mod ugxm_init.gsc and look at the timed gameplay section to find the variable.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
You need to be more specific.

Are you asking how to tell if the players are currently in Gun Game? If so:
Code Snippet
Plaintext
if(level.ugxm_settings["gamemode"] == 1)
{
    //Current gamemode is gun game, do something
}
else
{
    //They are playing something other than gun game, do something else.
}

Gamemode int ID list for UGX Mod v1.0.3:
0: Classic
1: Gungame
2: Arcademode
3: Sharpshooter
4: Bounty Hunter

thanks :D

 
Loading ...