View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-17-2022 , 14:15   Re: Bot Names Plugin
Reply With Quote #3

Even faster than this ~25 seconds write?

Code:
#include <amxmodx> new const NAMES_LIST[][] = {     "Botless bot",     "blabla",     "botty",     "botten",     "bottensten",     "bottenstenten",     "bot007" } public plugin_init() {     register_plugin("Random Bot Names", "1.0", "OciXCrom") } public client_putinserver(id) {     if(is_user_bot(id))     {         set_user_info(id, "name", NAMES_LIST[random(sizeof(NAMES_LIST))])     } }
__________________

Last edited by OciXCrom; 02-17-2022 at 14:16.
OciXCrom is offline
Send a message via Skype™ to OciXCrom