falszywy gracz ct
pijag
21.06.2014
Witam szukam pluginu który powoduje że w CT jest fałszywy gracz.
Lub prosiłbym o napisanie takiego kodu ponieważ powinien on być krótki a ja nie mam czasu żeby napisać
Puchate
21.06.2014
Zobacz to, powinno działać ale nietestowane:
// Never do you have to deal with round ending again! #include <amxmodx> #include <fakemeta> #include <cstrike> new botname[33] = "Bocik w CT"; new botid public plugin_init() { register_plugin("Fake TeamBot", "1.0", "OneEyed") register_event("HLTV","StartRound","a","1=0","2=0") createBots() } public StartRound() set_task(0.5, "PostStartRound", 0) public PostStartRound() { set_pev(botid, pev_effects, (pev(botid, pev_effects) | 128) ) //set invisible set_pev(botid, pev_solid, 0) //Not Solid } createBots() { new bot //is bot in server already? bot = find_player("bli", botname) if(bot) { botid = bot return } //bot not in server, create them. bot = engfunc(EngFunc_CreateFakeClient, botname) botid = bot new ptr[128] dllfunc(DLLFunc_ClientConnect, bot, botname, "127.0.0.1", ptr ) dllfunc(DLLFunc_ClientPutInServer, bot) cs_set_user_team(bot, CS_TEAM_CT, CS_CT_URBAN) }
Użytkownik Puchate edytował ten post 21.06.2014 22:20