Raised This Month: $ Target: $400
 0% 

Having Problem Withh AMXX-Studio


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-29-2014 , 21:18   Re: Having Problem Withh AMXX-Studio
Reply With Quote #1

I can compile the code. Yet, it have tag mismatch problem in line 627:
Code:
public zp_round_ended(winteam)
{        
    if (get_pcvar_num(cvar_zp_cs_restartround))
        for (new id=1;id<=g_maxplayers;id++)
        {
            zp_cs_player_moneybonus[id]=0;
            zp_cs_player_money[id]=get_pcvar_num(cvar_zp_cs_startmoney)
            set_task(0.1, "zp_cs_hevsuitstatusiconhide", id)
            
            return PLUGIN_CONTINUE
        }
    
    new color[3]    
    for (new i=0;i<3;i++)
        color[i]=255*(winteam==i);
    set_hudmessage(color[1], color[2], color[0], 0.05, 0.60, 1, 4.0, 5.0,0.1,0.2,-1)
    ShowSyncHudMsg(0,g_MsgSyncObj1, "%L", LANG_PLAYER,Lang_Roundend_msg[winteam])
    set_task(1.0,"round_results",winteam);
    
    return PLUGIN_CONTINUE
}
The red line is the problem line. ;)
zmd94 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 17:38.


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