sv_gravity
by blobby · 2007-08-31 · 3 replies · 943 views · 3 downloads
From the first post
rn
rnRegards and thanks
rn
rnBlobby
The thread
All 4 posts from 2 people on sv_gravity, kept as they were written.
Threads: 47
Joined: Apr 2007
Now i know what your thinking by the title is he all there, I know there are loads of these plugins about but because im learning how to script i though this would be a challenge. But what i need to know is kinda ruffly where to start i don't mean with the cvars or the commands i mean with the settings for the actual gravity such as 100 to (800 standard setting) if any one can like show me how this would be done so it would work it would be much appreciated as i don't have a clue on how to make this work at the momentrnrnRegards and thanksrnrnBlobby
Threads: 47
Joined: Apr 2007
Ok so i have managed to get this far with the sv_gravity plugin i wanted to make but i have 1 tiny problem its kicking out 1 error when i try to compile it now ive looked and looked at this code and i can not see any thing wrong so if one of you super people who know what you are looking for would be as kind enough as to look over this for me i would be very greatfullrnrnThanks in advance and regardsrnrnBlobby
Threads: 103
Joined: May 2005
the error is becuase you have a character before the comments...nnthe *'snnchangen
*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n*//DOD_GRAVITY//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n*//by Blobby///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n*//Make sure you define you admin level where this line is shown register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_H,"<n*gravity >") where admin_level_h is to suit your settings////////////////////////////////////////////////////////////////////////n*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n*//The commands for this plugin are as follows/////////////////////////////////////////////////////////////////////////////////n*//To change the gravity of your server in console type sv_gravity 800 is standard settings and 100 is fun gravity////////////n*//you can choose any setting or gravity from 100 to 1000////////////////////////////////////////////////////////////////////////////////////////////////////////n*//There are also 2 chat commands for players to be able to find out what gravity is set to the command for this is /gravity in ither team chat or player chat//n*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////nto this:n////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n//DOD_GRAVITY//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n//by Blobby///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n//Make sure you define you admin level where this line is shown register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_H,"<n//gravity >") where admin_level_h is to suit your settings////////////////////////////////////////////////////////////////////////n///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////n//The commands for this plugin are as follows/////////////////////////////////////////////////////////////////////////////////n//To change the gravity of your server in console type sv_gravity 800 is standard settings and 100 is fun gravity////////////n//you can choose any setting or gravity from 100 to 1000////////////////////////////////////////////////////////////////////////////////////////////////////////n//There are also 2 chat commands for players to be able to find out what gravity is set to the command for this is /gravity in ither team chat or player chat//n//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////nThreads: 47
Joined: Apr 2007
OMGZ Now i feel stupid thanks dimond optic m8

