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

[CSS] Buy relive


Post New Thread Reply   
 
Thread Tools Display Modes
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-02-2010 , 07:24   Re: [CSS] Buy relive
Reply With Quote #11

So the plugin is changing mp_buytime temporarily, when player is ReLiving or it changes for good, when the plugin is enabled?

That code from Your previous post is already used or I have to make some changes on my own?
__________________
GrO is offline
Devzirom
Junior Member
Join Date: Dec 2008
Location: Russian Federation
Old 11-02-2010 , 09:09   Re: [CSS] Buy relive
Reply With Quote #12

Quote:
Originally Posted by GrO View Post
So the plugin is changing mp_buytime temporarily, when player is ReLiving or it changes for good, when the plugin is enabled?

That code from Your previous post is already used or I have to make some changes on my own?
Plugin is changing mp_buytime temporarily, when the plugin is enabled!

This is not code, it's just an explanation of the principle of the plugin.
Devzirom is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 11-02-2010 , 13:52   Re: [CSS] Buy relive
Reply With Quote #13

Hey could you add a cvar so that only those with custom flag O are able to use it?
__________________


bouncer is offline
Devzirom
Junior Member
Join Date: Dec 2008
Location: Russian Federation
Old 11-03-2010 , 05:30   Re: [CSS] Buy relive
Reply With Quote #14

Quote:
Originally Posted by bouncer View Post
Hey could you add a cvar so that only those with custom flag O are able to use it?
No
Devzirom is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-03-2010 , 06:12   Re: [CSS] Buy relive
Reply With Quote #15

Quote:
Originally Posted by Devzirom View Post
Plugin is changing mp_buytime temporarily, when the plugin is enabled!

This is not code, it's just an explanation of the principle of the plugin.
Not good -.- Now it's useful for few maps only for me, cause mp_buytime longer, than 1min. on my server may destroy the whole gameplay.
__________________
GrO is offline
Devzirom
Junior Member
Join Date: Dec 2008
Location: Russian Federation
Old 11-03-2010 , 12:58   Re: [CSS] Buy relive
Reply With Quote #16

Quote:
Originally Posted by GrO View Post
Not good -.- Now it's useful for few maps only for me, cause mp_buytime longer, than 1min. on my server may destroy the whole gameplay.
Was tired to explain... Put mp_buytime at any desired value to you. And you will have happiness
Devzirom is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 11-05-2010 , 06:05   Re: [CSS] Buy relive
Reply With Quote #17

Ok, thanks.
__________________
GrO is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-11-2011 , 16:52   Re: [CSS] Buy relive
Reply With Quote #18

Great Idea!!

I only see 1 issue before this can be approved. Changing the RegConsoleCmds to AddCommandListner Reg*Cmds should be used only to register new non existing commands. From the docs "Registering commands is designed to create a new command as part of the UI, whereas this is a lightweight hook on a command string, existing or not. Using Reg*Cmd to intercept is in poor practice, as it physically creates a new command and can slow down dispatch in general".
Dr!fter is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-03-2013 , 16:13   Re: [CSS] Buy relive
Reply With Quote #19

Since Drifter's post wasn't taken into consideration, I'm unapproving this.

Beside, you shouldn't use FCVAR_REPLICATED in your convar, as this can give clients console errors.

Red
__________________
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
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:34.


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