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

[REQ][CSGO] Print msg when player shoot others


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ffriozi
Senior Member
Join Date: Feb 2016
Old 08-29-2016 , 15:24   [REQ][CSGO] Print msg when player shoot others
Reply With Quote #1

hey guys sup?

im running an BHOP server and one of the rules is dont shoot other players.

but this is the problem....

There is any chance to have an plugin to print an msg when a player shoot other?

like:

"Warning: Player X is shooting others"

Sorry for my english.

Last edited by ffriozi; 08-29-2016 at 15:25.
ffriozi is offline
boomix
Senior Member
Join Date: May 2015
Location: Latvia
Old 08-29-2016 , 15:51   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #2

Do you need to print it only for admins, or for everyone ? After that I can make one easly for you.
__________________
boomix is offline
ffriozi
Senior Member
Join Date: Feb 2016
Old 08-29-2016 , 15:54   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #3

Quote:
Originally Posted by boomix View Post
Do you need to print it only for admins, or for everyone ? After that I can make one easly for you.
Hey Boomix thanks.

its for all players on chat
ffriozi is offline
good_live
AlliedModders Donor
Join Date: Oct 2013
Old 08-29-2016 , 16:02   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #4

Why you dont disable weapon damage at all?
good_live is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-29-2016 , 16:09   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #5

Maybe better just to disarm all players?
__________________

Last edited by Grey83; 08-29-2016 at 16:09.
Grey83 is online now
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-29-2016 , 16:10   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #6

Quote:
Originally Posted by good_live View Post
Why you dont disable weapon damage at all?
Quote:
Originally Posted by Grey83 View Post
Maybe better just to disarm all players?
Then, how they are going to protect themselves ?


(That was just a joke, I don't especially care about the gun law in America, pls no kill me.)
__________________
Want to check my plugins ?

Last edited by Arkarr; 08-29-2016 at 16:11.
Arkarr is offline
ffriozi
Senior Member
Join Date: Feb 2016
Old 08-29-2016 , 16:14   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #7

Quote:
Originally Posted by good_live View Post
Why you dont disable weapon damage at all?
Quote:
Originally Posted by Grey83 View Post
Maybe better just to disarm all players?
Some maps need glock and usp to pass some parts.


Quote:
Originally Posted by Arkarr View Post
Then, how they are going to protect themselves ?


(That was just a joke, I don't especially care about the gun law in America, pls no kill me.)
lol
ffriozi is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-29-2016 , 17:06  
Reply With Quote #8

Quote:
Originally Posted by ffriozi View Post
Some maps need glock and usp to pass some parts.
Set FF='0', set only one team for all players, disarm all players (or just set prices $0 for grenades), then give them all any pistol?
__________________

Last edited by Grey83; 08-29-2016 at 17:06.
Grey83 is online now
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 08-29-2016 , 17:06   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #9

Just disable player damage?
sneaK is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 08-29-2016 , 17:16   Re: [REQ][CSGO] Print msg when player shoot others
Reply With Quote #10

blackhawk74, and how damage from falling or various traps?!

also
PHP Code:
...
SDKHook(clientSDKHook_OnTakeDamageEvent_OnTakeDamage);
...

public 
Action Event_OnTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype

    if(
damagetype DMG_BULLET || damagetype DMG_BUCKSHOTdamage 0.0
    return 
Plugin_Handled

or
PHP Code:
public Action Event_OnTakeDamage(victim, &attacker, &inflictor, &Float:damage, &damagetype

    if(
attacker <= MaxClientsdamage 0.0
    return 
Plugin_Handled

__________________

Last edited by Grey83; 08-29-2016 at 17:21.
Grey83 is online now
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 14:45.


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