Raised This Month: $ Target: $400
 0% 

BlockMaker - Action Scripts


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 02-09-2011 , 09:58   BlockMaker - Action Scripts
Reply With Quote #1

HBxander - BlockMaker ActionScripts


Why i made this thread?

I made this thread, because i think its usefull, and think alot of new up started scripters, a bit like me, needs some help with it, and so on!
Remember, if your a ' pro ' scripter, like there is alot of people who are in here, then please, stop spamming me, and just let me make my thread..
But tell me to edit, if you fell something is wrong !


Good..
Here there is some Action Scripts..
<span _mce_style="font-size: small;" style="font-size: small;"><span _mce_style="font-size: x-small;" style="font-size: x-small;">
PHP Code:
ActionDeagle(ident)
{
        if ( 
is_user_alive(id) && !g_dgl_used[id] )
        {
            if ( 
cs_get_user_team(id) == CS_TEAM_T )
            {
                if ( !
user_has_weapon(idCSW_DEAGLE) )
                {
                    new 
property1[33];
                    new 
property2[33];
                    
GetProperty(ent1property1);
                    
GetProperty(ent2property2);
                    
                    
g_dgl_used[id] = true;
                    
                    new 
name[32];
                    
get_user_name(idname32);
                    
                    
give_item(id"weapon_deagle");
                    
cs_set_weapon_ammo(find_ent_by_owner(1"weapon_deagle"id), str_to_num(property1));
                    
cs_set_user_bpammo(idCSW_DEAGLEstr_to_num(property2));
                
                    
ColorChat(0GREEN"[%s]^x01 Watch Out CTs!^x04'%s'^x01 where given  a^x04 Deagle^x01 with^x04 %i^x01 bullets!"name,  str_to_num(property1));
                }
            }
            else
            {
                
set_hudmessage(gHudRedgHudGreengHudBluegfTextX,  gfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTime,  gfHudFadeOutTimegHudChannel);
                
show_hudmessage(id"Only Terrorists can take Deagle!");
            }
        }
        else if ( 
g_dgl_used[id] )
        {
            
set_hudmessage(gHudRedgHudGreengHudBluegfTextX,  gfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTime,  gfHudFadeOutTimegHudChannel);
            
show_hudmessage(id"Wait until next round before taking Deagle block again!");
        }

__________________
Selling:

- PointMod for Hide And Seek - $20
- Private BlockMaker with Weapon Block And More - $50
- Achievements ( FFA GamePlay ) - $25

PM Me about Private Work!
HBxander 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 23:19.


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