Raised This Month: $ Target: $400
 0% 

Help - Happy Respawn Hour


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PandaDnB
Senior Member
Join Date: Jan 2012
Old 09-12-2012 , 12:54   Help - Happy Respawn Hour
Reply With Quote #1

Hello guys, i made a happy respawn hour plugin by mixing 2 other plugins (happy frag hour and deathrun respawn) but i have a problem - I added a /respawn command but it works even if it is not happy hour (just the command). Can someone add a check if its happy hour so that only then the /respawn command works? I'm attaching my code.
Attached Files
File Type: sma Get Plugin or Get Source (happyhour.sma - 582 views - 1.8 KB)
PandaDnB is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 09-12-2012 , 14:44   Re: Help - Happy Respawn Hour
Reply With Quote #2

Here..
Spoiler
__________________

Last edited by H.RED.ZONE; 09-12-2012 at 16:24.
H.RED.ZONE is offline
PandaDnB
Senior Member
Join Date: Jan 2012
Old 09-12-2012 , 15:44   Re: Help - Happy Respawn Hour
Reply With Quote #3

Now it doesn't work at all.
PandaDnB is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 09-12-2012 , 15:49   Re: Help - Happy Respawn Hour
Reply With Quote #4

Edited sorry X)

EDIT: Omg my keybord is doing something it should not, finally edited -.-

EDIT2: And again -.-
__________________

Last edited by H.RED.ZONE; 09-12-2012 at 15:54.
H.RED.ZONE is offline
PandaDnB
Senior Member
Join Date: Jan 2012
Old 09-12-2012 , 15:59   Re: Help - Happy Respawn Hour
Reply With Quote #5

Run time error, and it respawns only with the command, i want auto respawn when you die + the command so you can respawn when you join.

L 09/12/2012 - 23:12:06: Function is not present (function "respawn") (plugin "HappyHour.amxx")
L 09/12/2012 - 23:12:06: [AMXX] Displaying debug trace (plugin "HappyHour.amxx")
L 09/12/2012 - 23:12:06: [AMXX] Run time error 10: native error (native "set_task")
L 09/12/2012 - 23:12:06: [AMXX] [0] happyhour - Copy.sma::FW__DeathMessage (line 53)

Last edited by PandaDnB; 09-12-2012 at 16:12.
PandaDnB is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 09-12-2012 , 16:25   Re: Help - Happy Respawn Hour
Reply With Quote #6

Quote:
Originally Posted by PandaDnB View Post
Run time error, and it respawns only with the command, i want auto respawn when you die + the command so you can respawn when you join.

L 09/12/2012 - 23:12:06: Function is not present (function "respawn") (plugin "HappyHour.amxx")
L 09/12/2012 - 23:12:06: [AMXX] Displaying debug trace (plugin "HappyHour.amxx")
L 09/12/2012 - 23:12:06: [AMXX] Run time error 10: native error (native "set_task")
L 09/12/2012 - 23:12:06: [AMXX] [0] happyhour - Copy.sma::FW__DeathMessage (line 53)
Yes that was from old one i forgot to change forward name. It was edited later (:
__________________
H.RED.ZONE is offline
PandaDnB
Senior Member
Join Date: Jan 2012
Old 09-12-2012 , 16:46   Re: Help - Happy Respawn Hour
Reply With Quote #7

I guess it works now, thank you verry much! And the code looks much better your way, thanks again!
PandaDnB 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 08:14.


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