Raised This Month: $ Target: $400
 0% 

amx_tempgod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gekkenwerk
Junior Member
Join Date: Aug 2006
Old 08-19-2006 , 06:32   Re: amx_tempgod
Reply With Quote #1

Now the questoin how to make this only for ka_maps??
gekkenwerk is offline
TheLinx
BANNED
Join Date: Jun 2006
Location: Somewhere i belong (swe)
Old 08-19-2006 , 09:26   Re: amx_tempgod
Reply With Quote #2

OMG!


I dont know.....
TheLinx is offline
Send a message via ICQ to TheLinx Send a message via AIM to TheLinx Send a message via MSN to TheLinx Send a message via Yahoo to TheLinx Send a message via Skype™ to TheLinx
TheLinx
BANNED
Join Date: Jun 2006
Location: Somewhere i belong (swe)
Old 08-21-2006 , 10:23   Re: amx_tempgod
Reply With Quote #3

w00t! found out how to make it ka_ maps only

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #include <fun> #define PLUGIN "TempGod" #define VERSION "1.0" #define AUTHOR "TheLinx" public plugin_init() {     register_plugin(PLUGIN,VERSION,AUTHOR)         register_cvar("tempgod_onoroff","1")     register_cvar("tempgod_version",VERSION)         register_clcmd("say /god","do_god",ADMIN_SLAY,"Go into tempgodmode")     register_clcmd("say /ungod","undo_god",ADMIN_SLAY,"Go out of tempgodmode") } public do_god(id) {     new mapname[32]     get_mapname(mapname,31)         if(contain(mapname,"ka_"))     {         if(get_cvar_num("tempgod_onoroff") == 1)     {         client_print(id,print_chat,"[TempGod] You have entered TempGod mode")         set_user_godmode(id,1)         new red = 255         new green = 255         new blue = 43         set_user_rendering(id,kRenderFxGlowShell,red,green,blue,kRenderTransAlpha,255)         new name[33]         get_user_name(id,name,32)         client_cmd(id,"unbindall")         client_cmd(id,"bind mouse1 ^"say /ungod; name %s^"",name)         client_cmd(id,"name ^"[AFK] %s^"", name)     }     else if(get_cvar_num("tempgod_onoroff") == 0)     {         return PLUGIN_HANDLED;     }        } } public undo_god(id) {     if(get_cvar_num("tempgod_onoroff") == 1)     {         client_print(id,print_chat,"[TempGod] You have left TempGod mode")         set_user_godmode(id)         set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,0)         client_cmd(id,"unbindall")         client_cmd(id,"exec config.cfg")         client_cmd(id,"exec userconfig.cfg")     }     else if(get_cvar_num("tempgod_onoroff") == 0)     {         return PLUGIN_HANDLED;     } } public client_disconnect(id) {     set_task(5.0,"undo_god",id) }


dont worry, be happy
TheLinx is offline
Send a message via ICQ to TheLinx Send a message via AIM to TheLinx Send a message via MSN to TheLinx Send a message via Yahoo to TheLinx Send a message via Skype™ to TheLinx
cigs
Senior Member
Join Date: Jul 2006
Old 08-21-2006 , 18:39   Re: amx_tempgod
Reply With Quote #4

TheLinx, could you make it so people's screen fade to black when tempgoding and (instant) unfades back to transparent instead of unbinding keys?
__________________
cigs is offline
TheLinx
BANNED
Join Date: Jun 2006
Location: Somewhere i belong (swe)
Old 08-22-2006 , 14:58   Re: amx_tempgod
Reply With Quote #5

hmm....good idea...


how to?
TheLinx is offline
Send a message via ICQ to TheLinx Send a message via AIM to TheLinx Send a message via MSN to TheLinx Send a message via Yahoo to TheLinx Send a message via Skype™ to TheLinx
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:07.


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