View Full Version : sv_gravity
blobby
08-31-2007, 08:57 PM
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 moment
Regards and thanks
Blobby
blobby
09-08-2007, 04:47 PM
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 greatfull
Thanks in advance and regards
Blobby
diamond-optic
09-08-2007, 07:00 PM
the error is becuase you have a character before the comments...
the *'s
change
*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*//DOD_GRAVITY//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*//by Blobby///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*//Make sure you define you admin level where this line is shown register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_H,"<
*gravity >") where admin_level_h is to suit your settings////////////////////////////////////////////////////////////////////////
*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
*//The commands for this plugin are as follows/////////////////////////////////////////////////////////////////////////////////
*//To change the gravity of your server in console type sv_gravity 800 is standard settings and 100 is fun gravity////////////
*//you can choose any setting or gravity from 100 to 1000////////////////////////////////////////////////////////////////////////////////////////////////////////
*//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//
*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
to this:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//DOD_GRAVITY//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//by Blobby///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//Make sure you define you admin level where this line is shown register_concmd("amx_gravity","admin_gravity",ADMIN_LEVEL_H,"<
//gravity >") where admin_level_h is to suit your settings////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//The commands for this plugin are as follows/////////////////////////////////////////////////////////////////////////////////
//To change the gravity of your server in console type sv_gravity 800 is standard settings and 100 is fun gravity////////////
//you can choose any setting or gravity from 100 to 1000////////////////////////////////////////////////////////////////////////////////////////////////////////
//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//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
blobby
09-08-2007, 09:00 PM
OMGZ Now i feel stupid thanks dimond optic m8
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.