Raised This Month: $ Target: $400
 0% 

bool not working properly


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

I have this bool
Code:
bool:CheckPlayer( const id ) {     new Float:flGametime = get_gametime()       if( g_flLastCmd[ id ] < flGametime ) {         g_flLastCmd[ id ] = flGametime + 1.00         return false     }     if(!is_user_alive(id)) {         ColorChat(id, RED, "[kz#] ^x01You must be alive to use this command...")     } else { /*nothing*/ }     return true }
And i check all of my commands with it but not working properly, can you help me.
I Want dead peoples dont have acess to commands and if they are alive to work, and also have anti-spam function
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