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

[Multi-1v1] Headshot only rounds


Post New Thread Reply   
 
Thread Tools Display Modes
Chevalier
BANNED
Join Date: Aug 2015
Location: Anywhere
Old 02-12-2016 , 22:38   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #11

L 02/12/2016 - 19:20:24: [SM] Native "IsClientInGame" reported: Client index 122 is invalid
L 02/12/2016 - 19:20:24: [SM] Displaying call stack trace for plugin "multi1v1_headshot.smx":
L 02/12/2016 - 19:20:24: [SM] [0] Line 35, C:\Users\Tobias\Desktop\1v1-headshot\multi1v1_headshot.sp::OnTakeDamage()
Chevalier is offline
Byte
Senior Member
Join Date: Jun 2010
Location: 📦 CCSPlayer
Old 02-13-2016 , 01:09   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #12

Quote:
Originally Posted by Chevalier View Post
L 02/12/2016 - 19:20:24: [SM] Native "IsClientInGame" reported: Client index 122 is invalid
L 02/12/2016 - 19:20:24: [SM] Displaying call stack trace for plugin "multi1v1_headshot.smx":
L 02/12/2016 - 19:20:24: [SM] [0] Line 35, C:\Users\Tobias\Desktop\1v1-headshot\multi1v1_headshot.sp::OnTakeDamage()
Had the same error in my logs.

Attached files will fix it.
Attached Files
File Type: sp Get Plugin or Get Source (multi1v1_headshot.sp - 235 views - 2.1 KB)
File Type: smx multi1v1_headshot.smx (13.7 KB, 365 views)
__________________
STEAM: /id/invexbyte | Github: Mo Beigi | Discord: Byte#0017
Community: Invex Gaming | My Plugins: Click Me!

Byte is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 02-16-2016 , 16:11   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #13

Quote:
Originally Posted by InvexByte View Post
Attached files will fix it.
Thanks, updated.
Bara is offline
Ultralord
Senior Member
Join Date: Oct 2008
Old 12-20-2016 , 18:40   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #14

how i can enable the rating on headshot round?
Ultralord is offline
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 12-20-2016 , 20:56   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #15

Quote:
Originally Posted by Ultralord View Post
how i can enable the rating on headshot round?
Change line 47 from

Code:
    Multi1v1_AddRoundType("Headshot", "headshot", HeadshotHandler, true, false, "", true);
to something like

Code:
    Multi1v1_AddRoundType("Headshot", "headshot", HeadshotHandler, true, true, "headshotRating", true);
__________________
splewis is offline
rZr
Member
Join Date: Aug 2006
Old 04-03-2017 , 14:23   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #16

How can i add a "PrintHintText" to the plugin ? i am a coding noob
rZr is offline
MBf
Member
Join Date: Aug 2016
Old 09-22-2017 , 16:37   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #17

Hello,

can the message be in the middle of the screen not in the chat on this plugin? ..

Thank you in advance
__________________
PLAY.ACEARENA.RO
WWW.ACEARENA.RO
MBf is offline
iGreen112
Junior Member
Join Date: Dec 2018
Location: Moldova!
Old 01-09-2019 , 09:23   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #18

what does really this plugin do? i dont understand it
iGreen112 is offline
Cruze
Veteran Member
Join Date: May 2017
Old 01-09-2019 , 12:29   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #19

Quote:
Originally Posted by Ultralord View Post
how i can enable the rating on headshot round?
Quote:
Originally Posted by rZr View Post
How can i add a "PrintHintText" to the plugin ? i am a coding noob
Quote:
Originally Posted by MBf View Post
Hello, can the message be in the middle of the screen not in the chat on this plugin? ..
Thank you in advance
Check Attachment.
Map change and check cfg/sourcemod/plugin.1v1hs.cfg
Untested.
Quote:
Originally Posted by iGreen112 View Post
what does really this plugin do? i dont understand it
When headshot only round is activated, enemy dies only in headshot.
Attached Files
File Type: sp Get Plugin or Get Source (multi1v1-hs.sp - 125 views - 2.7 KB)
File Type: smx multi1v1-hs.smx (14.3 KB, 137 views)
__________________
Taking paid private requests! Contact me

Last edited by Cruze; 01-09-2019 at 12:56.
Cruze is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 02-12-2019 , 19:31   Re: [Multi-1v1] Headshot only rounds
Reply With Quote #20

Quote:
Originally Posted by Cruze View Post
Check Attachment.
Map change and check cfg/sourcemod/plugin.1v1hs.cfg
Untested.

When headshot only round is activated, enemy dies only in headshot.
edit: it works

Last edited by eliteroyal; 02-13-2019 at 05:09.
eliteroyal 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 03:05.


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