Raised This Month: $ Target: $400
 0% 

[DeathRun] Free Round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SXJ Team.
Junior Member
Join Date: Jun 2014
Old 05-27-2017 , 06:20   [DeathRun] Free Round
Reply With Quote #1

This is code from xPaw's "DeathRun FreeRound Vote"
If player(TS) say /free, will be Free Round without vote.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < cstrike >
#include < fakemeta >
#include < hamsandwich >
#include < colorchat >

const m_toggle_state 41;

new 
bool:g_bFreeRound;

new 
g_synced;

public 
plugin_init() {
    
register_plugin"Free Round without Vote""1.0""xPaw" ); 
    
    
register_clcmd"say /free""CmdFreeRound" );
    
register_clcmd"say /freeround""CmdFreeRound" );
    
    
RegisterHamHam_Use"func_rot_button""FwdHamUse_Button" );
    
RegisterHamHam_Use"func_button",     "FwdHamUse_Button" );
    
RegisterHamHam_Use"button_target",   "FwdHamUse_Button" );
    
    
register_event"CurWeapon""EventCurWeapon""be""1=1""2!29" );
    
register_event"HLTV",      "EventNewRound",  "a",  "1=0""2=0" );
    
register_event"TextMsg",   "EventRestart",   "a",  "2&#Game_C""2&#Game_w" );
    
    
g_synced CreateHudSyncObj( );
}
public 
EventNewRound( ) {
    if( 
g_bFreeRound ) {
        
g_bFreeRound false;
        
        return;
        
    }
}
public 
EventRestart( ) {
    
g_bFreeRound false;
}
public 
EventCurWeaponid ) {
    if( 
g_bFreeRound ) {
        
engclient_cmdid"weapon_knife" );
    }
}
public 
CmdFreeRoundid ) {
    if( 
cs_get_user_teamid ) != CS_TEAM_T ) {
        
ColorChatidRED"^4[Deathrun]^3 This command is only for terrorists!");
        
        return 
PLUGIN_CONTINUE;
    }
    else if( 
g_bFreeRound ) {
        
ColorChatidRED"^4[Deathrun]^3 It is Free Round already!");
        
        return 
PLUGIN_CONTINUE;
    }
    new 
szName32 ];
    
get_user_nameidszNamecharsmaxszName ) )
    
    
set_hudmessage255255155, -1.00.1510.51.00.515.0, -1)
    
ShowSyncHudMsg0g_synced"- Free Round -^nNo Traps, No Weapons" );
    
    
ColorChat0RED"^4[Deathrun]^3 Free round started by^4 %s"szName );
    
    
g_bFreeRound true;
    
    return 
PLUGIN_CONTINUE;
}
public 
FwdHamUse_ButtoniEntityidiActivatoriUseTypeFloat:flValue ) {
    if( 
g_bFreeRound && iUseType == && flValue == 1.0 && is_user_aliveid )
    &&  
get_user_teamid ) == && get_pdata_intiEntitym_toggle_state) == ) {
        
        
ColorChatidRED"^4[Deathrun]^3 Free Round = No traps, No Weapons." );
        
        return 
HAM_SUPERCEDE;
    }
    
    return 
HAM_IGNORED;


Last edited by SXJ Team.; 05-27-2017 at 06:35.
SXJ Team. is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 05-27-2017 , 06:59   Re: [DeathRun] Free Round
Reply With Quote #2

if you want to release any plugin you should post it in new plugins submission not in this section.

and any include that is not in the default AMXX installation must be linked to the theard.
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality

Last edited by yas17sin; 05-27-2017 at 07:00.
yas17sin is offline
Send a message via ICQ to yas17sin
SXJ Team.
Junior Member
Join Date: Jun 2014
Old 05-27-2017 , 07:32   Re: [DeathRun] Free Round
Reply With Quote #3

Quote:
Originally Posted by yas17sin View Post
if you want to release any plugin you should post it in new plugins submission not in this section.

and any include that is not in the default AMXX installation must be linked to the theard.

This is not a 'new plugin' this plugin exist 6 years, created by xPaw.

Last edited by SXJ Team.; 05-27-2017 at 07:34.
SXJ Team. is offline
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 05-27-2017 , 07:38   Re: [DeathRun] Free Round
Reply With Quote #4

Where is the problem ? Like galileo, Brad created it and addons zz edited it after 7 years and he posted it in new plugin submission...
__________________

Last edited by Ayman Khaled; 05-27-2017 at 07:40.
Ayman Khaled is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-27-2017 , 09:59   Re: [DeathRun] Free Round
Reply With Quote #5

What's the point of this topic?!
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 20:47.


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