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

Reset buttons at round start


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-16-2009 , 04:44   Re: Reset buttons at round start
Reply With Quote #11

Quote:
Originally Posted by SchlumPF* View Post
even though im not sure whether the searching natives check ent by ent
The native should use the engine function.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-16-2009 , 14:13   Re: Reset buttons at round start
Reply With Quote #12

upd.
__________________
xPaw is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-16-2009 , 17:29   Re: Reset buttons at round start
Reply With Quote #13

You could hook FM_Spawn so the plugin wouldn't use Ham, but then you would had to check classname.
Main idea of my post was to say that as you don't use find_ent_by_class anymore (i would have stuck with it), then you need to check if the ent is valid, just in case another plugin would have removed a button.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kabul
BANNED
Join Date: Feb 2009
Old 05-17-2009 , 09:08   Re: Reset buttons at round start
Reply With Quote #14

Quote:
Originally Posted by kabul
Nice, but I was wondering, can you also make a plugin that sets a delay for all buttons that you have pressed, something like 20 seconds or so? The reason why I am asking is because there are some maps like deathrun_projetocs2 where the terrorists like to make abuse of the buttons. Thanks in advance if you can help.
kabul is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-18-2009 , 18:36   Re: Reset buttons at round start
Reply With Quote #15

You should destroy the array upon plugin_end().
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-19-2009 , 05:53   Re: Reset buttons at round start
Reply With Quote #16

Quote:
Originally Posted by Exolent[jNr] View Post
You should destroy the array upon plugin_end().
Done.
__________________
xPaw is offline
Bridgestone
Member
Join Date: Jan 2007
Location: Sweden
Old 07-10-2009 , 06:25   Re: Reset buttons at round start
Reply With Quote #17

Hi.

I really love your plugins.

But I get some errors from this one:

Code:
L 07/10/2009 - 11:55:27: [AMXX] Displaying debug trace (plugin "ResetButtons.amxx")
L 07/10/2009 - 11:55:27: [AMXX] Run time error 3: stack error 
L 07/10/2009 - 11:55:48: [AMXX] Displaying debug trace (plugin "ResetButtons.amxx")
L 07/10/2009 - 11:55:48: [AMXX] Run time error 3: stack error 
L 07/10/2009 - 11:57:33: [AMXX] Displaying debug trace (plugin "ResetButtons.amxx")
L 07/10/2009 - 11:57:33: [AMXX] Run time error 3: stack error
This is in debug mode.

What to do?
Bridgestone is offline
jacky1110
Junior Member
Join Date: Jun 2009
Old 07-17-2009 , 11:50   Re: Reset buttons at round start
Reply With Quote #18

If i use this plugin , some map will didn't to use
jacky1110 is offline
nisam_ja
BANNED
Join Date: Sep 2008
Location: osijek
Old 07-30-2009 , 06:17   Re: Reset buttons at round start
Reply With Quote #19

hmmm
L 07/30/2009 - 028:15: [AMXX] Run time error 3 (plugin "ResetButtons.amxx") - debug not enabled!
L 07/30/2009 - 028:15: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 07/30/2009 - 02:44:08: Start of error session.


-.-

p.s. as i see someone reported this error. Is this fixed or '.'

Last edited by nisam_ja; 07-30-2009 at 06:31.
nisam_ja is offline
Send a message via MSN to nisam_ja Send a message via Skype™ to nisam_ja
edga85
BANNED
Join Date: Jan 2009
Old 10-07-2009 , 09:35   Re: Reset buttons at round start
Reply With Quote #20

Getting error:
Quote:
L 10/06/2009 - 191:41: [AMXX] Run time error 3 (plugin "ResetButtons.amxx") - debug not enabled!
L 10/06/2009 - 191:41: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)
edga85 is offline
Send a message via Skype™ to edga85
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 20:15.


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