Raised This Month: $ Target: $400
 0% 

Slowing Down Players


Post New Thread Reply   
 
Thread Tools Display Modes
Old 08-10-2019, 19:49
thEsp
This message has been deleted by thEsp.
LordDeath
Member
Join Date: Feb 2019
Old 08-11-2019 , 03:15   Re: Slowing Down Players
Reply With Quote #2

Quote:
Originally Posted by thEsp View Post
Code:
#include <amxmodx> #include <fakemeta_util> #include <hamsandwich> /* Choose your own desired values. */ new const WantedButton = IN_DUCK; new const Float:MaxSpeed = 100.0; new const Weapon = CSW_AK47; public plugin_init() {     register_forward(FM_CmdStart, "fwCmdStart_pre"); } public fwCmdStart_pre(id) {     if(get_user_weapon(id) == Weapon && (pev(id, pev_button) & WantedButton))     {         fm_set_user_maxspeed(id, MaxSpeed);     }     else if(get_user_weapon(id) == Weapon && !(pev(id, pev_button) & WantedButton))     {         ExecuteHamB(Ham_CS_Player_ResetMaxSpeed, id);     } }
Try this, I wrote it accordingly to what you said...
This is not even going to work at all, the players gain insane speed by doing GS/SGS even if the maxspeed is limited to 100/200/... (People can go up to 700~). they can still go higher. so I manually need to lower their speed down.
LordDeath is offline
Reply



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 17:17.


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