RSSy MYGO.pl Opublikowano Kwiecień 6, 2021 o 13:44 RSSy Udostępnij Opublikowano Kwiecień 6, 2021 o 13:44 Hi everyone this from Kalo I want this for owners only already ADMIN_IMMUNITY But, Want If( User Ct & Zm ) This is the Sma PHP PHP Code: /* Plugin generated by AMXX-Studio */ Plugin From Kalo , Edited By Null For zm & ct skin knife #include <amxmodx> #include <amxmisc> #include <fakemeta> #include <cstrike> #define PLUGIN "Owner Knife HUMAN & ZM" #define VERSION "1.5" #define AUTHOR "Kalo " new const v_Knife_Owner[64] = "models/AlgerianKnifes/v_knife_owner.mdl" new const p_Knife_Owner[64] = "models/AlgerianKnifes/p_knife_owner.mdl" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event( "CurWeapon", "Event_CurWeapon", "be", "1=1" ) } public plugin_precache( ) { precache_model( v_Knife_Owner ) precache_model( p_Knife_Owner ) } public Event_CurWeapon( id ) { new Arma = read_data( 2 ) if( get_user_flags( id ) == ADMIN_IMMUNITY && Arma == CSW_KNIFE){ set_pev( id, pev_viewmodel2, v_Knife_Owner ) set_pev( id, pev_weaponmodel2, p_Knife_Owner ) } } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi