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

Timer Controller v0.0.2 [ April 5th 2014 ]


Post New Thread Reply   
 
Thread Tools Display Modes
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-10-2014 , 17:37   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #21

Sweet, thanks. Reworked my own freezetime Using in my TTT plugin, because allowing players to move while in freezetime crashed my server very often.
You should name natives better, also add getroundtime or something like that as it might come handy with previous native.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-10-2014 , 18:19   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #22

Sure. I can add that. Good idea.
I can't see a problem with my native names but I'm open for suggestions.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
bat
Veteran Member
Join Date: Jul 2012
Old 04-11-2014 , 07:23   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #23

Good Job, Thanks
__________________
bat is offline
Send a message via Skype™ to bat
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-11-2014 , 07:25   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #24

Hy hornet.

Can you add some forwards ?

// Called when server is Paused (not everytime only when u use the native)
PHP Code:
forward ServerIsPaused() 
// The same , but is called when server is unpaused
PHP Code:
forward ServerIsUnPaused(); 

Last edited by swapped; 04-11-2014 at 07:26.
swapped is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-11-2014 , 17:50   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #25

I can't see the need for a forward that would be called when the native is called? Whatever conditions you want can be written before or after you call the native from your other plugin?
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-12-2014 , 03:59   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #26

i realy dont understand what english hack you say there.

yes i can not find a reason now, but in time people maybe will need it, example "i want made a plugin when server is paused ecran be dark/red/etc"

The second question i read 4 times and i still dont understand what you wanna say
swapped is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-12-2014 , 14:11   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #27

With native names I meant - keeping to the original amxmodx syntax, like set_user_health, you should make set_round_timer or something like that. But it's up to you, it's just syntax.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-13-2014 , 02:11   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #28

Quote:
Originally Posted by swapped View Post
i realy dont understand what english hack you say there.

yes i can not find a reason now, but in time people maybe will need it, example "i want made a plugin when server is paused ecran be dark/red/etc"

The second question i read 4 times and i still dont understand what you wanna say
Well I suppose it would be a reasonable request if the forward was called when paused by the console command to avoid having to edit the plugin. But what I'm saying, is that if your going to call the native, there is no need to have a forward be called straight after it.

Quote:
Originally Posted by GuskiS View Post
With native names I meant - keeping to the original amxmodx syntax, like set_user_health, you should make set_round_timer or something like that. But it's up to you, it's just syntax.
For custom natives I prefer a custom look / syntax ;)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-21-2014 , 10:49   Re: Timer Controller v0.0.2 [ April 5th 2014 ]
Reply With Quote #29

After using this plugin, it seems that round doesn't end when it should. I set 10 seconds for my freezetime, after that set it to roundtime. Time to time, when round ends, it takes longer for new round to start.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-22-2014 , 09:07   Re: Timer Controller v0.0.2 [ April 5th 2014 ]
Reply With Quote #30

Can you explain again in detail exactly how to produce this issue ( didn't quite understand your prev post ) and I will take a look when I'm next on my pc.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet 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 23:33.


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