Raised This Month: $ Target: $400
 0% 

I have made a mistake.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alexutzu
Member
Join Date: Jan 2008
Location: Romania
Old 08-31-2010 , 10:06   Re: I have made a mistake.
Reply With Quote #6

Edited and still getting errors:
Code:
// D:\Server CS\HLDS\cstrike\addons\amxmodx\scripting\aL3x_BM.sma(1671) : error
017: undefined symbol "gfFlashGrenadeNextUse"
// D:\Server CS\HLDS\cstrike\addons\amxmodx\scripting\aL3x_BM.sma(1671) : warnin
g 215: expression has no effect
// D:\Server CS\HLDS\cstrike\addons\amxmodx\scripting\aL3x_BM.sma(1671) : error
001: expected token: ";", but found "]"
// D:\Server CS\HLDS\cstrike\addons\amxmodx\scripting\aL3x_BM.sma(1671) : error
029: invalid expression, assumed zero
// D:\Server CS\HLDS\cstrike\addons\amxmodx\scripting\aL3x_BM.sma(1671) : fatal
error 107: too many error messages on one line
edit: in my noobish i figured out that all errors are in the actionFlash code.
Code:
actionFlash(id, OverrideTimer)
{
    //get game time
    new Float:fTime = halflife_time();
 
    //make sure player is alive
    if (fTime >= gfFlashGrenadeNextUse[id] || OverrideTimer)
    {
        give_item(id, "weapon_flashbang");
        {
            //omg
        }
 
        //set the time when player can use flash grenade again
        gfFlashNextUse[id] = fTime + get_cvar_float("bm_flashgrenadecooldown");
 
        //setup hud message to show who nuked what team
        set_hudmessage(255, 255, 0, -1.0, 0.35, 0, 6.0, 10.0, 1.0, 1.0);
 
    }
    else
    {
        set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
        show_hudmessage(id, "FLASH BLOCK NEXT USE AFTER 1 ROUND", gfFlashNextUse[id] - fTime);
    }
}

Last edited by Alexutzu; 08-31-2010 at 10:10.
Alexutzu 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 20:27.


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