Raised This Month: $ Target: $400
 0% 

PreThink BUG!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Veggetta
Member
Join Date: Mar 2008
Location: Portugal
Old 07-08-2012 , 12:25   PreThink BUG!
Reply With Quote #1

PHP Code:
public fwPrethink(id)
{
    if(
cs_get_user_team(id) & CS_TEAM_T)
        return 
PLUGIN_CONTINUE;
        
    if(
get_user_button(id) == IN_ATTACK2)
    {
        if(
KitMedico[id] < 1)
        {
            
ColorChat(id"^x04[Nitro-Team.com]^x01 Ja usou o seu^x03 KitMedico^x01, espere ate receber novamente.");
            return 
PLUGIN_CONTINUE;
        }
        
KitMedico[id]--;
        
set_task(6.0"UsarKitMedico"id);
        
Fazer_BarraTempo(id6);
    }
    return 
PLUGIN_CONTINUE;

In game, when i push Mouse2. The plugin sends me a lot of phrases of that ColorChat instead of just 1. :s
PS: if you want it in English just say

Last edited by Veggetta; 07-08-2012 at 12:27.
Veggetta is offline
 



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 15:14.


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