darkallience3 5 Posted December 24, 2015 Share Posted December 24, 2015 Buna ziua , am si eu nevoie de un plugin care imi dezactiveaza armele pe HARTILE AWP sa fie decat ( AWP + KNIFE ) Am adaugat plg de pe net , dar nu a functionat , tot apareau armele.. Link to comment Share on other sites More sharing options...
LondoN eXtream 110 Posted December 24, 2015 Share Posted December 24, 2015 #include < amxmodx > #include < amxmisc > #include < fun > #include < cstrike > /* Only AWP on AWP Maps by Alex # */ #define AWP CSW_AWP public plugin_init ( ) { register_event ( "CurWeapon", "EVENT_CurWeapon", "be", "1=1" ); } public EVENT_CurWeapon ( id ) { new szMapName [ 32 ]; get_mapname ( szMapName, sizeof ( szMapName ) -1 ); if ( containi ( szMapName, "awp_" ) ) { if ( get_user_weapon ( id ) != AWP ) { strip_user_weapons ( id ); give_item ( id, "weapon_knife" ); give_item ( id, "weapon_deagle" ); give_item ( id, "weapon_awp" ); cs_set_user_bpammo ( id, AWP, 35 ); cs_set_user_bpammo ( id, CSW_DEAGLE, 35 ); client_print ( id, print_center, "[AMXX] Only AWP on AWP maps!" ); return PLUGIN_CONTINUE; } } return PLUGIN_CONTINUE; } Link to comment Share on other sites More sharing options...
darkallience3 5 Posted December 24, 2015 Author Share Posted December 24, 2015 Multumesc ! Link to comment Share on other sites More sharing options...
LondoN eXtream 110 Posted December 25, 2015 Share Posted December 25, 2015 Marcat ca rezolvat. Topic inchis. Link to comment Share on other sites More sharing options...
Recommended Posts