RSSy MYGO.pl Opublikowano Grudzień 31, 2020 o 13:23 RSSy Udostępnij Opublikowano Grudzień 31, 2020 o 13:23 It can be made to work once every 4 rounds ??:bee: Code: #include <amxmodx> #include <cstrike> #include <colorchat> #include <fun> #define PLUGIN "Scout echipe" #define VERSION "v.1" #define AUTHOR "Yahim" new iPlayers[32], iNum, szName[32]; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent("RoundCT",2,"0=World triggered","1=Round_Start"); } public RoundCT() { get_players(iPlayers, iNum, "aceh", "CT" ); if(iNum) { new iRandomIndex = random(iNum); new iPlayer = iPlayers[iRandomIndex]; set_task(5.0, "iWeapons", iPlayer); } } public iWeapons(id) { new dID= give_item(id, "weapon_scout"); cs_set_weapon_ammo(dID, 1); get_user_name(id, szName, 31); ColorChat(0,GREEN, "[^x01HNS^x01] ^x03 -= %s =- ^x01 a primit un ^x04 scout !", szName) } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi