Jak dokończyć ten kod :
/************************************** ********** Splinter Cell MOD ********** *********** Idea by ESTCOBS *********** **************************************/ /************************************** EdisLeado ||| Argus & SC Models ****** YamiKaitou ||| Invisibility code ****** whitemike ||| Models code ************ **************************************/ #include <amxmodx> #include <fun> #define VERSION "1.0" public plugin_init() { register_plugin("Splinter Cell MOD", VERSION, "ESTCOBS & Yami Kaitou"); register_event("CurWeapon","eCurWeapon","b","2=29"); } public eCurWeapon(id) { if (get_user_flags(id) & ADMIN_LEVEL_A) { if (get_user_weapon(id, _, _) == CSW_KNIFE) { set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0); set_user_footsteps(id, 1); } else { set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 128); set_user_footsteps(id, 1); } } else { set_user_footsteps(id, 0); set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255); } return PLUGIN_CONTINUE; }
Aby :
1 ) Być niewidzialnym w 25% mając USP (else if mi nie wychodzi)
2 ) Raz na trzy rundy losował Splinter Cella - przenosił do CT (CT tylko dla Splinter Cella)
3 ) Nie było widać głosniczka podczas mówienia (nie pamiętam nazwy pluginu )
Pozdrawiam
[ Dodano: 01-02-2009, 08:45 ]
Refresh...