Raised This Month: $32 Target: $400
 8% 

[CS:GO] - ↬ BACK/FRONT Flip only for admins


Post New Thread Reply   
 
Thread Tools Display Modes
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 06-26-2015 , 07:45   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #11

Quote:
[BACKFLIP] - Height: 85.958854 - 32.031250 = 53.927604
[BACKFLIP] - prop: models/player/tm_phoenix.mdl
[BACKFLIP] - AllowToJump
[BACKFLIP] - Event_PlayerJump
[BACKFLIP] - Disallow Jump
[BACKFLIP] - Height: 70.365425 - 32.031250 = 38.334175
[BACKFLIP] - AllowToJump
[BACKFLIP] - Event_PlayerJump
[BACKFLIP] - Allow Jump
[BACKFLIP] - Height: 78.412322 - 32.031250 = 46.381072
[BACKFLIP] - prop: models/player/tm_phoenix.mdl
These were spamming mine and others chat when i was doing backflip in the server.I m using drapi_backflip_bhop as i have bhop enabled in my server.Backflip is working fine but the chat is getting spammed.
__________________
Patience is the key to success.
Hunter6272 is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 06-26-2015 , 09:39   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #12

Quote:
Originally Posted by Hunter6272 View Post
These were spamming mine and others chat when i was doing backflip in the server.I m using drapi_backflip_bhop as i have bhop enabled in my server.Backflip is working fine but the chat is getting spammed.
drapi_active_backflip_dev 0 ?

Last edited by Dr. Api; 06-26-2015 at 09:40.
Dr. Api is offline
Mac91
Member
Join Date: May 2014
Location: Germany
Old 06-27-2015 , 03:11   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #13

Quote:
stock bool IsAdminEx(int client)
{
if(GetUserFlagBits(client) & ADMFLAG_CHANGEMAP
/*|| GetUserFlagBits(client) & ADMFLAG_RESERVATION*/
|| GetUserFlagBits(client) & ADMFLAG_GENERIC
|| GetUserFlagBits(client) & ADMFLAG_KICK
|| GetUserFlagBits(client) & ADMFLAG_BAN
|| GetUserFlagBits(client) & ADMFLAG_UNBAN
|| GetUserFlagBits(client) & ADMFLAG_SLAY
|| GetUserFlagBits(client) & ADMFLAG_CHANGEMAP
|| GetUserFlagBits(client) & ADMFLAG_CONVARS
|| GetUserFlagBits(client) & ADMFLAG_CONFIG
|| GetUserFlagBits(client) & ADMFLAG_CHAT
|| GetUserFlagBits(client) & ADMFLAG_VOTE
|| GetUserFlagBits(client) & ADMFLAG_PASSWORD
|| GetUserFlagBits(client) & ADMFLAG_RCON
|| GetUserFlagBits(client) & ADMFLAG_CHEATS
|| GetUserFlagBits(client) & ADMFLAG_ROOT)
{
return true;
}
return false;
}
What does the || mean? How can I change it to only root admins?
__________________
Mac91 is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 06-27-2015 , 03:22   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #14

Quote:
Originally Posted by Mac91 View Post
What does the || mean? How can I change it to only root admins?
|| means OR

PHP Code:
/***********************************************************/
/****************** CHECK IF IS AN ADMIN *******************/
/***********************************************************/
stock bool IsAdminEx(int client)
{
    if(
GetUserFlagBits(client) & ADMFLAG_ROOT)
    {
        return 
true;
    }
    return 
false;

Dr. Api is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 07-01-2015 , 13:28   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #15

Quote:
Originally Posted by Dr. Api View Post
drapi_active_backflip_dev 0 ?
It solved my problem,thanks
Is there a way you can make this plugin to detect flag "a" for backflip too as i give this to my V.I.P's and they are unable to backflip.
__________________
Patience is the key to success.
Hunter6272 is offline
Eun
Member
Join Date: Jan 2011
Old 07-02-2015 , 04:36   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #16

I have seen a vid where you can "simulate" the view in first person using:

cl_pitchup 900
cl_pitchdown 900

Maybe you could build this in.

Last edited by Eun; 07-02-2015 at 04:36.
Eun is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 07-02-2015 , 13:43   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #17

Quote:
Originally Posted by Eun View Post
I have seen a vid where you can "simulate" the view in first person using:

cl_pitchup 900
cl_pitchdown 900

Maybe you could build this in.
Client command are block on multiplayer servers.
Dr. Api is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 07-05-2015 , 08:37   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #18

This plugin is having issues with this https://forums.alliedmods.net/showthread.php?p=577144 plugin.Whenever a player is having a color and backflips,the color changes to default mid-air then comes back to the changed color after backflipping.
__________________
Patience is the key to success.
Hunter6272 is offline
Dr. Api
BANNED
Join Date: Mar 2015
Location: France
Old 07-05-2015 , 09:15   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #19

Quote:
Originally Posted by Hunter6272 View Post
This plugin is having issues with this https://forums.alliedmods.net/showthread.php?p=577144 plugin.Whenever a player is having a color and backflips,the color changes to default mid-air then comes back to the changed color after backflipping.
This is normal my plugin making a clone.
Dr. Api is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 07-05-2015 , 11:55   Re: [CS:GO] - ↬ BACK/FRONT Flip only for admins
Reply With Quote #20

Drapi, as i mention before, great plugin, however many admins complain about this since when they try to bhop, it's like the double jump kinda ruins it, and they been asking me if it can be disabled by typing something. so i wonder if it's possible to add a command to disable or enable the double jump!

Thanks
Lannister 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 21:35.


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