Raised This Month: $ Target: $400
 0% 

CZ Zakaz zbrani


  
 
 
Thread Tools Display Modes
Author Message
99red99
Junior Member
Join Date: Apr 2012
Old 07-03-2012 , 14:49   CZ Zakaz zbrani
#1

mám takový problém chtěl bych zakázat zbraně všem a nejde mi to zkoušel jsem pár pluginu a nejde zkusil jsem to pře restmenu.amxx dal jsem všechny zakazat a nic mohl by někdo poradit? potreboval bych to na mod schovka. zkousel sem i tento plugin
PHP Code:
#include < amxmodx >
#include < fakemeta_util >

const CS_TEAM_CT 2

public plugin_init( ) 
{
    
register_plugin"Block Weapons""1.0""Pur3" )
    
register_event"ResetHUD""ev_ResetHud""b" )
    
register_forwardFM_Touch"fw_Touch_Pre" )
}

public 
ev_ResetHudid )
{
    if( !
is_user_aliveid ) )
        return;
        
    
fm_strip_user_weaponsid )
    
    if( 
get_user_teamid ) == CS_TEAM_CT )
        
fm_give_itemid"weapon_knife" )
}

public 
fw_Touch_PreiEntid )
{
    if( !
is_user_connectedid ) || !is_user_aliveid ) )
        return 
FMRES_IGNORED;
    
    new 
g_szClassname32 ]
    
peviEntpev_classnameg_szClassname31 )
    
    if( 
equalig_szClassname"weaponbox" ) || equalig_szClassname"armoury_entity" ) )
            return 
FMRES_SUPERCEDE;
    
    return 
FMRES_IGNORED;

ale vzdy kdyz se pripojim dam vibrat team tak me to kickne a napise toto Cs^DjOles is joining the Terrorist force
Cs^DjOles overflowed
Reliable channel overflowed

nevite mi poradit pls ?
99red99 is offline
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 07-03-2012 , 17:14   Re: CZ Zakaz zbrani
#2

const CS_TEAM_CT = 2

->

new const CsTeams: Anti = 2
__________________
Pawn ? Useless
Aooka is offline
99red99
Junior Member
Join Date: Apr 2012
Old 07-04-2012 , 04:24   Re: CZ Zakaz zbrani
#3

problem pretrvava
Cs^DjOles is joining the Counter-Terrorist force
Cs^DjOles overflowed
Reliable channel overflowe
99red99 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 21:04.


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