Raised This Month: $ Target: $400
 0% 

bool not working properly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 11-29-2010 , 13:42   Re: bool not working properly
Reply With Quote #8

i remove bypass this function easy with this
Code:
bool:CheckSpam(const id) {     new Float:flGametime = get_gametime()       if(is_user_connected(id)) { // some fix for sv_restartround 1         if(g_flLastCmd[id]  < flGametime) {             g_flLastCmd[id] = flGametime + 1.00             return false         }     }     return true } public CheckPlayer(id) {     if(!is_user_alive(id)) {         ColorChat(id, RED, "[kz#] ^x01You must be alive to use this command...")         return PLUGIN_HANDLED // Block cmd's for non-alive players somehow xD         } else {         /*nothing i think this plugin continue next func ??*/     }     return PLUGIN_CONTINUE }

Last edited by xakintosh; 11-29-2010 at 16:24. Reason: Real Code
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
 



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 11:25.


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