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

King of the Hook (toughshot)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
Deathinflames
Member
Join Date: Sep 2004
Location: El Paso, TX
Old 08-29-2005 , 13:36   King of the Hook (toughshot)
Reply With Quote #1

I was remembering this plugin the other day and came to see if anyone had ported it, i was suprised to find that no one had yet. So here it is, all credit goes to toughshot for making this fun plugin, Enjoy!

Code:
/***********************************************************
filename: hookking.sma
version: 2.3
author: toughshot
description: ONLY ONE MAN HAS THE HOOK!!! KILL HIM AND YOU GET IT!
NOTE: *requires hookmod*


admin commands:
-=-=-=-=-==-=-=-=-=-=-
amx_hkon - turns on king of the hook
amx_hkoff - turns off king of the hook
amx_newking - randomly creates a new hook king


user commands:
-=-=-=-=-=-=-=-=-=-=-
/whoking - tells the user who the current king is
/kinginfo - tells user the rules of king of the hook




credits:
[Coder]Someone and his plugin called owner
Jamez_PrO and his plugin called Public Teleport

I used both their plugins to learn how to make parts of mine.
Thanks guys and hope you don't mind.


-toughshot

**************************************************************/
Attached Files
File Type: sma Get Plugin or Get Source (hookking.sma - 1163 views - 8.4 KB)

Last edited by Deathinflames; 07-24-2006 at 18:06.
Deathinflames is offline
Send a message via AIM to Deathinflames Send a message via MSN to Deathinflames Send a message via Yahoo to Deathinflames
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 08-29-2005 , 13:48  
Reply With Quote #2

some things to fix:
1) The code is badly formated.
2) You trust the usage of client_cmd()
3) for(new i = 0; i < 33;++i) should be: for(new i = 1; i <= get_maxplayers();++i) or for(new i = 1; i <= 32;++i)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 08-29-2005 , 16:04  
Reply With Quote #3

also you can add a hook using amxx into it instead of relying on hookmod
__________________
My Plugins

Got ??
AssKicR is offline
Bolox 16
Member
Join Date: Mar 2005
Location: Canada,Ontario
Old 08-30-2005 , 00:20   WOW!
Reply With Quote #4

Give The Guy Some Credit Wow Guys Dont Be A Dick Just Say Nice Plugin And Say I Would Like To Make Some Suggestions Dont Say "Oh BAD Code' Wow if You Can Do Better Make One U Net Nerd lol


Thanks Dude Im Loading The PLugin on my server Now!
Bolox 16 is offline
Send a message via AIM to Bolox 16 Send a message via MSN to Bolox 16 Send a message via Yahoo to Bolox 16
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-30-2005 , 00:31   Re: WOW!
Reply With Quote #5

Quote:
Originally Posted by Bolox 16
Give The Guy Some Credit Wow Guys Dont Be A Dick Just Say Nice Plugin And Say I Would Like To Make Some Suggestions Dont Say "Oh BAD Code' Wow if You Can Do Better Make One U Net Nerd lol


Thanks Dude Im Loading The PLugin on my server Now!
You're the asshole here, they were giving suggestions to improve on his code and finding problems with it for him.

I'm pretty sure both of them above could.

Net nerd? Please, because people can donate their free time to computers instead of watching the TV?
Anyways, I know tons of cool people (including myself) who spend all the time they can on computers..

Also, why do you capitalize every word in your sentence? I'm no perfectionist but that's stupid.


Anyways, thanks for the port.
pdoubleopdawg is offline
Deathinflames
Member
Join Date: Sep 2004
Location: El Paso, TX
Old 08-30-2005 , 12:43  
Reply With Quote #6

Hey i dont mind suggestions at all, especially from EKS and AssKicR . I agree that the code is pretty sloppy and needs a facelift. The guy who originally made this plugin said it was his first, but had experience with other code languages. I myself am still in the process of learning this stuff, and this would be an excellent learning experience for me. I have some good ideas for this plugin, and im probably going to rewrite the whole thing . This guy definetly had a good idea though. Any more suggestions is appreciated.
Deathinflames is offline
Send a message via AIM to Deathinflames Send a message via MSN to Deathinflames Send a message via Yahoo to Deathinflames
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 08-30-2005 , 16:08   Re: WOW!
Reply With Quote #7

Quote:
Originally Posted by Bolox 16
Give The Guy Some Credit Wow Guys Dont Be A Dick Just Say Nice Plugin And Say I Would Like To Make Some Suggestions Dont Say "Oh BAD Code' Wow if You Can Do Better Make One U Net Nerd lol
Thats what their there for, and to give out great plugins, especially since it has not been approved. I dont think this bolox kid knows who the people are in these forums yet....
__________________
bmann_420 is offline
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 12-14-2005 , 14:04  
Reply With Quote #8

Redundant. Choose a category. Old. Moved to Unapproved/Old Plugins forum.
__________________
twistedeuphoria is offline
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 07-24-2006 , 12:20   Re: King of the Hook (toughshot)
Reply With Quote #9

Nice. why not approved
__________________
i stop around here and there.
Da_sk8rboy is offline
Jak
BANNED
Join Date: Feb 2006
Old 07-24-2006 , 15:26   Re: WOW!
Reply With Quote #10

Quote:
Originally Posted by pdoubleopdawg
You're the asshole here, they were giving suggestions to improve on his code and finding problems with it for him.

I'm pretty sure both of them above could.

Net nerd? Please, because people can donate their free time to computers instead of watching the TV?
Anyways, I know tons of cool people (including myself) who spend all the time they can on computers..

Also, why do you capitalize every word in your sentence? I'm no perfectionist but that's stupid.


Anyways, thanks for the port.
you are the asshole here
Jak 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 19:00.


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