Raised This Month: $535 Target: $400
 133% 

Blockmaker Hud Message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SoYti
Member
Join Date: Oct 2008
Old 11-19-2009 , 10:43   Blockmaker Hud Message
Reply With Quote #1

Hello,
i have a blockmaker with deagle and awp blocks, but when i pick a deagle is the hud message flashes for one milliseconds
i want to change it so 1-2secs

Quote:
actionDeagle(id, OverrideTimer)
{
//get game time
new Float:fTime = halflife_time();

//make sure player is alive
if (fTime >= gfDeagleNextUse[id] || OverrideTimer)
{
if ( get_user_team ( id ) == 1 )
{
cs_set_weapon_ammo(give_item(id, "weapon_deagle"), 1);
}

//set the time when the player can use the nuke again (someone might have been invincible)
gfDeagleNextUse[id] = fTime + get_cvar_float("bm_deaglecooldown");

//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);

//Show Message
new szPlayerName[32];
get_user_name(id, szPlayerName, 32);

if ( get_user_team ( id ) == 1 )
{
show_hudmessage(0, "Oh My God, All CT's Run %s Got the Deagle!", szPlayerName);
}
}
else
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "DEAGLE NEXT USE AFTER 1 ROUND", gfDeagleNextUse[id] - fTime);
}
Need help to fix it

Last edited by SoYti; 11-19-2009 at 12:12.
SoYti is offline
SoYti
Member
Join Date: Oct 2008
Old 11-19-2009 , 15:40   Re: Blockmaker Hud Message
Reply With Quote #2

fixxed i delete the automessage from amxmodxmenu
SoYti is offline
Reply


Thread Tools
Display Modes

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 02:05.


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