Raised This Month: $159 Target: $400
 39% 

[Deathrun]Set Gravity


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Aka.Z.
New Member
Join Date: Aug 2014
Old 08-20-2014 , 21:51   [Deathrun]Set Gravity
Reply With Quote #1

/700 & /800



[EN]Here we have a plugin that lets you change your gravity when you are on the server.
How to use:
-type in chat /700 if you wanna set 700 gravity!
-type in chat /800 if you wanna set 800 gravity!
--------------------------------------------------------------------------------------------------

[RO]Acesta este un plugin care te lasa sa iti schimbi gravitatia atunci cand esti pe server.
Cum se foloseste:
-scrie in chat /700 ca sa iti setezi 700 gravity!
-scrie in chat /800 ca sa iti setezi 800 gravity!
Code:

public grav800(id)
{                    
    set_user_gravity(id, 1.14)
}
public grav700(id)
{
    set_user_gravity(id, 1.0)
}
The "1.14" % "1.0" values,are defined by "sv_gravity".

Example: if "sv_gravity" is "700", the "1.0" value means 700 gravity.

I put /700 and /800 because I set "sv_gravity" to "700" on my sv.

INSTALL:
-put set_grav.amxx in amxmodx/plugins
-add line set_grav.amxx in plugins.ini


Attached Files
File Type: sma Get Plugin or Get Source (set_grav.sma - 714 views - 1.2 KB)

Last edited by Aka.Z.; 08-20-2014 at 22:25.
Aka.Z. is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 08-20-2014 , 22:18   Re: [Deathrun]Set Gravity
Reply With Quote #2

CS already has commands to change gravity. Please come up with something that serves a real purpose.
Also please read the rules and the other stickies in this section regarding releasing your first plugin.

Unapproved.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:37.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode