Pirmas round'as knife
Posted: 2013 Jan 26 10:11
Sveiki, naudoju Public serva, gal zinot kaip padaryti kad tik pirmas round'as butu: knife ? be jokiu dm'u, tiesiog public modo.
Code: Select all
#include <amxmodx> new g_iRoundCount new g_pcvarEnable public plugin_init() { register_plugin("First Round Knife", "0.1", "ConnorMcLeod") g_pcvarEnable = register_cvar("frk_enabled", "1") register_logevent("eRoundEnd", 2, "1=Round_End") register_event("TextMsg","eRestart","a","2&#Game_C","2&#Game_w") register_event("CurWeapon", "eCurWeapon", "be", "1=1", "2!29") } public eRoundEnd() { g_iRoundCount++ } public eRestart() { g_iRoundCount = 0 } public eCurWeapon(id) { if(g_iRoundCount || !get_pcvar_num(g_pcvarEnable)) return engclient_cmd(id, "weapon_knife") }
Na, taipCabexxx wrote:Kiek suprantu cia .sma failas?