Raised This Month: $ Target: $400
 0% 

Hey i need some help of action codes...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lw.
Member
Join Date: Mar 2010
Old 03-19-2010 , 07:55   Hey i need some help of action codes...
Reply With Quote #1

i need 4 action codes..
1:Blind Blockmaker action codes
2:Flash only Teror Blockmaker action codes
3:HE only Teror Blockmaker action codes
4:XP only Teror Blockmaker action codes..
can some1 give me plz

Last edited by Lw.; 03-19-2010 at 10:46.
Lw. is offline
r14170
Veteran Member
Join Date: Dec 2009
Old 03-19-2010 , 09:35   Re: Hey i need some help of scripts...
Reply With Quote #2

scripts .. lol ?! isnt it action codes ??
r14170 is offline
Lw.
Member
Join Date: Mar 2010
Old 03-19-2010 , 10:47   Re: Hey i need some help of scripts...
Reply With Quote #3

Quote:
Originally Posted by r14170 View Post
scripts .. lol ?! isnt it action codes ??
ok i dont know,
bot you can give me ?
Lw. is offline
'-_-'<3zok<3'-_-'
Senior Member
Join Date: Feb 2010
Location: Norway
Old 03-19-2010 , 16:32   Re: Hey i need some help of action codes...
Reply With Quote #4

here you go ^-^
PHP Code:
actionXP(idOverrideTimer)
{
    new 
Float:fTime halflife_time();
    
    if (
fTime >= g_xp_next_use[id] || OverrideTimer)
    {
    if ( 
get_user_team id ) == )
    {
        
hnsxp_add_user_xp(id75);
        
ColorChat(idGREEN"[%s]^x03 You have been given^x04 75 XP^x03!"g_prefix);
    }
    
        
g_xp_next_use[id] = fTime get_cvar_float("bm_xpcooldown");
            
    }
    else
    {
        
set_hudmessage(g_hud_redg_hud_greeng_hud_blueg_text_xg_text_yg_hud_effectsg_hud_fx_timeg_hud_hold_timeg_hud_fade_in_timeg_hud_fade_out_timeg_hud_channel);
        
show_hudmessage(id"[%s]^nWait Time: One Round"g_prefixg_xp_next_use[id] - fTime);
    }
    return 
PLUGIN_HANDLED;

'-_-'<3zok<3'-_-' is offline
Send a message via Skype™ to '-_-'<3zok<3'-_-'
'-_-'<3zok<3'-_-'
Senior Member
Join Date: Feb 2010
Location: Norway
Old 03-19-2010 , 16:33   Re: Hey i need some help of action codes...
Reply With Quote #5

i dont know if you use colorchat :S
'-_-'<3zok<3'-_-' is offline
Send a message via Skype™ to '-_-'<3zok<3'-_-'
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-19-2010 , 16:34   Re: Hey i need some help of action codes...
Reply With Quote #6

please give more information.. not just like "Blind Blockmaker" what is that??
__________________
Shadezz is offline
Lw.
Member
Join Date: Mar 2010
Old 03-19-2010 , 17:01   Re: Hey i need some help of action codes...
Reply With Quote #7

Quote:
Originally Posted by '-_-'<3zok<3'-_-' View Post
i dont know if you use colorchat :S
no i dont use colorchat

Quote:
Originally Posted by Shadezz View Post
please give more information.. not just like "Blind Blockmaker" what is that??
Blind bm it blind you for 10 sec...if you mian for this
Lw. is offline
Shadezz
Senior Member
Join Date: Jul 2009
Location: Denmark
Old 03-19-2010 , 17:17   Re: Hey i need some help of action codes...
Reply With Quote #8

i got a old action laying from my Blind..

PHP Code:
actionBlind(idbool:OverrideTimer)
{
    new 
Float:fTime halflife_time();
    
    
//check if player is outside of cooldown time to use the boots of speed
    
if (fTime >= gfBlindNextUse[id] || OverrideTimer)
    {
        new 
Float:fTimeout get_cvar_float("bm_blindtime");
        
        
//set a task to remove the boots of speed after time out amount
        
set_task(fTimeout"taskBlindRemove"TASK_BLIND id""0"a"1);
        
        
//iterate through all players
        
for (new id<= id; ++i)
        {
            
//make sure player is connected
            
if (is_user_connected(i))
            {
                
//make the screen flash for a nuke effect
                
message_begin(MSG_ONEgMsgScreenFade, {000}, i);
                
write_short(20000);    //duration
                
write_short(30000);    //hold time
                
write_short(4096);    //type (in / out)
                
write_byte(0);    //red
                
write_byte(0);    //green
                
write_byte(0);    //blue
                
write_byte(0);    //alpha
                
message_end();
            }
        }
        
        
gfBlindTimeOut[id] = fTime fTimeout;
        
gfBlindNextUse[id] = fTime fTimeout get_cvar_float("bm_blindcooldown");
    }
    else
    {
        
set_hudmessage(gHudRedgHudGreengHudBluegfTextXgfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTimegfHudFadeOutTimegHudChannel);
        
show_hudmessage(id"Blind next use: %.1f"gfBlindNextUse[id] - fTime);
    }

remember to make cvar
__________________
Shadezz is offline
Lw.
Member
Join Date: Mar 2010
Old 03-19-2010 , 17:54   Re: Hey i need some help of action codes...
Reply With Quote #9

^
Thx you..
some1 have the code of number 2,3?
Lw. is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-19-2010 , 19:10   Re: Hey i need some help of action codes...
Reply With Quote #10

What is an "action code"?
__________________
fysiks 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 08:40.


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