Gravity

Low gravity ?

Yes
13
50%
No
13
50%
 
Total votes: 26
User avatar
nick_6893
Site Admin
Posts: 668
Joined: Fri Apr 09, 2010 4:09 pm

Re: Gravity

Post by nick_6893 »

Sourcemod Way :P

Code: Select all

decl String:mapname[32];
GetCurrentMap(mapname, sizeof(mapname));
if(StrContains(mapname, "killbox", false) == -1)
{
  ServerCommand("sv_gravity 300");
}
else
{
  ServerCommand("sv_gravity 600");
}
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Gravity

Post by Nicdel »

nick_6893 wrote:Sourcemod Way :P

Code: Select all

decl String:mapname[32];
GetCurrentMap(mapname, sizeof(mapname));
if(StrContains(mapname, "killbox", false) == -1)
{
  ServerCommand("sv_gravity 300");
}
else
{
  ServerCommand("sv_gravity 600");
}
All credits to Nico, thanks :>
Ingame: -[SaD]- Nico

Image
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Gravity

Post by ant_8490 »

Plugin Created and on the server:

gravity is 300 on any map containing the name "killbox" and 600 (default) otherwise.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10