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

[CSS] Buyzone range


Post New Thread Reply   
 
Thread Tools Display Modes
Maximus99
New Member
Join Date: Mar 2013
Old 06-08-2013 , 06:09   Re: [CSS] Buyzone range
Reply With Quote #21

Quote:
Originally Posted by Doc-Holiday View Post
Since the guy has been afk for over a year i have cleaned up his code and made it work the way i want it to.

Cvars:
sm_bz_range <1> //0 = normal buyzones (plugin is off) 1 = Buyzone Everywhere 2 = no where

Credits:
Devzirom - Original code.
VEN - Original idea

Works in CS:S and CS:GO... REQUIRES SDKHOOKS
.smx file Plugin failed to compile! Please try contacting the author.
Maximus99 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-08-2013 , 09:46   Re: [CSS] Buyzone range
Reply With Quote #22

Quote:
Originally Posted by Maximus99 View Post
.smx file Plugin failed to compile! Please try contacting the author.
Quote:
Originally Posted by Devzirom View Post
Extension SDK Hooks Requred
...There is the attached .smx for that...

Or you can try https://forums.alliedmods.net/showth...21#post1784021


Quote:
Originally Posted by RedSword View Post
Seems great but letting :

Code:
RegServerCmd("sm_bz_help", CommandHelp, " \"Buyzone range\" plugin help");
Could mean shit in your server console log, since anyone could use it.
I misread RegServerCmd for RecConsoleCmd :$. My bad.

If author ever comes back, he could (Optional) change L99 so i starts to MaxClients + 1 rather than 0. Also change RemoveEdict for AcceptEntityInput(i, "kill") (or disable). Also updating your CommandHelp and replace your "SDKHook_Touch" method (this last thing is needed) :

I did try the plugin and I'm able to get it to work... sometimes. Works perfectly on de_dust2; but not on cs_italy with "sm_sw_t 2" for terro (same behaviour as described here. I believe that the "SDKHook_Touch" hook simply isn't good enough for a reliable method (in this scenario). I think SDKHook_Think or something similar (maybe even OnGameFrame) or something similar would have to be used.

Unapproving since author isn't active and plugin isn't reliable.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-08-2013 at 10:32.
RedSword is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 06-08-2013 , 16:22   Re: [CSS] Buyzone range
Reply With Quote #23

I use a different one. This was always very unreliable.

The other I believe is approved but is csgo only

Last edited by Doc-Holiday; 06-08-2013 at 16:23.
Doc-Holiday is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-08-2013 , 17:20   Re: [CSS] Buyzone range
Reply With Quote #24

Quote:
Originally Posted by Doc-Holiday View Post
I use a different one. This was always very unreliable.

The other I believe is approved but is csgo only
I believe combined with OnGameFrame() it would be (wtf SDKHook_Touch...)

Feel free to make a new thread.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
WizardPolska
New Member
Join Date: Jul 2013
Old 07-29-2013 , 07:03   Re: [CSS] Buyzone range
Reply With Quote #25

Please reupload the latest working files from user Doc-Holiday.

Last edited by WizardPolska; 07-29-2013 at 07:03.
WizardPolska is offline
mrdiega
Member
Join Date: Dec 2020
Old 02-08-2023 , 14:42   Re: [CSS] Buyzone range
Reply With Quote #26

Quote:
Originally Posted by Doc-Holiday View Post
Since the guy has been afk for over a year i have cleaned up his code and made it work the way i want it to.

Cvars:
sm_bz_range <1> //0 = normal buyzones (plugin is off) 1 = Buyzone Everywhere 2 = no where

Credits:
Devzirom - Original code.
VEN - Original idea

Works in CS:S and CS:GO... REQUIRES SDKHOOKS
Works only in some random places. Not on the whole map. Map $2000$
steam css, sm 1.11.6930
can someone fix pls?
mrdiega 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:02.


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