message flooding bug..
#4

you don't need else
PHP код:
public OnPlayerClickTextDraw(playeridText:clickedid)
{
    if(
clickedid == Darbo_TD[playerid][6])
    {
        
CancelSelectTextDraw(playerid);
        for(new 
015s++) TextDrawHideForPlayer(playeridDarbo_TD[playerid][s]);
                
SendClientMessage(playerid, -1"Press button");
        return 
1;
    }
     if(
clickedid == Text:INVALID_TEXT_DRAW)
    {
        
CancelSelectTextDraw(playerid);
        for(new 
015s++) TextDrawHideForPlayer(playeridDarbo_TD[playerid][s]);
                
SendClientMessage(playerid, -1"Press Esc");
        return 
1;
    }
    return 
1;

Reply


Messages In This Thread
message flooding bug.. - by Karolukas123 - 12.10.2015, 09:42
Re: message flooding bug.. - by ZeMuNaC - 12.10.2015, 10:12
Re: message flooding bug.. - by Karolukas123 - 12.10.2015, 10:24
Re: message flooding bug.. - by jlalt - 12.10.2015, 10:27
Re: message flooding bug.. - by Karolukas123 - 12.10.2015, 10:31
Re: message flooding bug.. - by jlalt - 12.10.2015, 10:35
Re: message flooding bug.. - by ZeMuNaC - 12.10.2015, 10:35
Re: message flooding bug.. - by Karolukas123 - 12.10.2015, 10:47
Re: message flooding bug.. - by Vince - 12.10.2015, 11:19
Re: message flooding bug.. - by Karolukas123 - 12.10.2015, 11:30

Forum Jump:


Users browsing this thread: 2 Guest(s)