Raised This Month: $51 Target: $400
 12% 

(req) admin_level_h no slowdown when jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HowToRuski
Senior Member
Join Date: Feb 2019
Location: Hungary
Old 08-21-2022 , 09:45   (req) admin_level_h no slowdown when jump
Reply With Quote #1

Hello, can someone help me with code, when player jumps who has admin_level_h or so, he doesnt slow down?
HowToRuski is offline
menkisa
Junior Member
Join Date: Sep 2011
Old 08-21-2022 , 11:09   Re: (req) admin_level_h no slowdown when jump
Reply With Quote #2

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define NSD_FLAG ADMIN_LEVEL_H

public plugin_init()
{
    
register_plugin("Admin No Slow Down""menkisa""0.1");
    
    
RegisterHam(Ham_Player_Jump"player""CBasePlayer_Jump_Post", .Post true)
}

public 
CBasePlayer_Jump_Post(pPlayer)
{
    if(!
is_user_alive(pPlayer) || (!(get_user_flags(pPlayer) & NSD_FLAG)))
        return;
    
    
set_pev(pPlayerpev_fuser20.0);

menkisa 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 07:11.


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