Raised This Month: $ Target: $400
 0% 

GOD mode is not working again


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-07-2008 , 15:52   Re: GOD mode is not working again
Reply With Quote #1

Quote:
Originally Posted by shustas View Post
I'm sure there is no plugin, wich could do that. I was using amx super 3.7 and godmode was ok. From that time, i didn't add any other new plugin, except, i have updated amx super to 3.81. Is it working ok for you? Like godmode 2 lasts and lasts every round?
I don't use AMX Super, because it's too big for my server (other big plugins are running).
So, I just use 4 commands out of it.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-07-2008 , 17:37   Re: GOD mode is not working again
Reply With Quote #2

AHHHHH, i think its spawn protection, on line 2040:

public sp_off(id)
{
if(!is_user_connected(id))
{

return PLUGIN_HANDLED

}
else if( HasPermGlow[id] )
{
fm_set_rendering( id, kRenderFxGlowShell, g_glow[id][0], g_glow[id][1], g_glow[id][2], kRenderTransAlpha, g_glow[id][3] )
}

else
{
fm_set_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255)
}
fm_set_user_godmode(id, 0)
return PLUGIN_HANDLED
}
_____________________________________________ __________

Yes, its because of that; just add on top of it:
if(!HasPermGod[id])



Nice to answer my own question )))

Last edited by shustas; 04-07-2008 at 17:45.
shustas 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:35.


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