RSSy MYGO.pl Opublikowano Grudzień 14, 2020 o 00:25 RSSy Udostępnij Opublikowano Grudzień 14, 2020 o 00:25 Can anyone color this message for me please...i tried by my self ...buy yeah No hate please...:nono: PHP Code: #include <amxmodx> #include <amxmisc> #define ADVERTISING_TIME 155.0 stock const messages[][] = { "* If you want to be part of our team take a look at the prices of the ranks by typing /prices" } public plugin_init() { register_plugin("Rang prices","1.0","") register_clcmd ("say /prices" , "rang_prices_motd" , -1); register_clcmd ("say_team /prices" , "rang_prices_motd" , -1); set_task(ADVERTISING_TIME, "show_messages", _, _, _,"b"); } public rang_prices_motd(id) show_motd(id,"/addons/amxmodx/configs/rang_prices_motd.html") public show_messages() { new Buffer[256]; formatex(Buffer, sizeof Buffer - 1, "^x02%s", messages[random(sizeof messages)]); new players[32], num, id; get_players(players, num); for(new i = 0 ; i < num ; i++) { id = players[i] message_begin(MSG_ONE, get_user_msgid("SayText"), _, id); write_byte(id); write_string(Buffer); message_end(); } } Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi