Raised This Month: $ Target: $400
 0% 

Capture the Hax help...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zenith77
Veteran Member
Join Date: Aug 2005
Old 11-10-2005 , 21:34  
Reply With Quote #1

here ya go ;)


Code:
 #include <amxmodx> #include <fun> #define PLUGIN "Capture the Hax" #define VERSION "1.0" #define AUTHOR "ev0d00b" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_cvar("amx_cth", "1")         register_logevent("Round_Start", 2, "0=World triggered", "1=Round_Start") } public Round_Start() {  new id    chooseRandomPlayer(id)  if( id == 0 ) return PLUGIN_HANDLED  new hackerName[32];  get_user_name(id,hackerName,31)  set_user_maxspeed (id, -2.0 ) } public chooseRandomPlayer(index) {  index = random_num(1, get_maxplayers())  if(!is_user_alive(index) ) {        index = 0      set_task(0.1, "Restart_Rount" ) // give the funciton time to execute      return index   }  return index // every thing is a-ok }


But there are still other problems, I dont know if this is the complete code or not.

If you run into any problems just post back ;)
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 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 23:57.


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