Raised This Month: $51 Target: $400
 12% 

[Request] Scripting help won't complie


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
eNNkds
Member
Join Date: Sep 2012
Location: Romania
Old 11-17-2019 , 08:21   [Request] Scripting help won't complie
Reply With Quote #1

Code:
//// bb65.sma
Complier\addons\amxmodx\scripting\bb65.sma(812) : warning 204: symbol is assigned a value that is never used: "szGoal"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 017: undefined symbol "GREEN"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : warning 215: expression has no effect
Complier\addons\amxmodx\scripting\bb65.sma(1890) : warning 215: expression has no effect
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 001: expected token: ";", but found ")"
Complier\addons\amxmodx\scripting\bb65.sma(1890) : error 029: invalid expression, assumed zero
Complier\addons\amxmodx\scripting\bb65.sma(1890) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file compiled\bb65.amx (compile failed).
812 line
PHP Code:
public ev_Health(taskid)
{
    if (
taskid>g_iMaxPlayers)
        
taskid-=TASK_HEALTH
        
    
if (is_user_alive(taskid))
    {
        new 
szGoal[32]
        
//if (is_credits_active())
        #if defined BB_CREDITS
            
format(szGoal31"^n%L: %d"LANG_SERVER"HUD_GOAL"credits_get_user_goal(taskid))
        
#endif
        
        
set_hudmessage(255255255, -1.00.9012.012.00.10.24);
        if (
g_isZombie[taskid])
        {
            static 
szCache1[32]
            
ArrayGetString(g_zclass_nameg_iZombieClass[taskid], szCache1charsmax(szCache1))
        
            
//show_hudmessage(taskid, "%L: %d^n%L: %s%s", LANG_SERVER, "HUD_HEALTH", pev(taskid, pev_health), LANG_SERVER, "HUD_CLASS", szCache1, szGoal);
        
}
        else
        {
            
//show_hudmessage(taskid, "%L: %d%s", LANG_SERVER, "HUD_HEALTH", pev(taskid, pev_health), szGoal);
        
}
        
        
set_task(11.9"ev_Health"taskid+TASK_HEALTH);
    }

1890 Line
PHP Code:
    //Checked after object is successfully grabbed
    
if (!g_boolCanBuild && (access(idFLAGS_BUILD) || access(idFLAGS_OVERRIDE)))
    {
        new 
adminauthid[32],adminname[32]
        
get_user_authid (id,adminauthid,31)
        
get_user_name(id,adminname,31)
        
ColorChat0TEAM_COLOR"^x04^x01 Admin^x04 [%s]^x01 moves the blocks^x04"adminname)
    }
    
    
client_cmd(id"spk %s"GRAB_START);
    
cmdLockBlock(id)    
    
ExecuteForward(g_fwGrabEnt_Postg_fwDummyResultident);
    
    return 
PLUGIN_HANDLED

eNNkds is offline
Send a message via Skype™ to eNNkds
 



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:11.


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