Raised This Month: $ Target: $400
 0% 

Codding help.Function ignored.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gamer99
Senior Member
Join Date: Jul 2011
Old 08-03-2011 , 04:38   Re: Codding help.Function ignored.
Reply With Quote #1

Code:
 
public scan(id)
{
    id -= 912651    
    new name[32];
    get_user_name(id,name,31);

    if(is_user_alive(id)) 
    {
    if(CurFps[id] > get_pcvar_num(cvar_Fps)) 
        {
    client_print(0,print_chat,"%s - Scan Status: %d FPS", name, CurFps[id])
        }
    }
    if(CurFps[id] > get_pcvar_num(cvar_Fps)) 
        {    
            user_kill(id)
        }
            client_print(0,print_chat,"[Developer] %s slayed for playing with  %i FPS",name,CurFps[id]);            
    }       
}
why the braces are not matching ?

Quote:
Its spamming the first client_print .. and after the task complete spamming the last client_print
remove the client print if you don't want

Why do you need scan function if you are detecting in the prethink itself ?
Also why do you need engine and fakemeta both ?
gamer99 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 03:24.


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