Jump to content

Hitman

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Hitman

  1. Hitman

    Adrenaline

    hmm i want to delete adrenaline from whole server so no1 can use it not medics nor engi neither any other classes how can i? coz my g_mode is 0 and i dont have g_medics 256 flag on :/
  2. Hitman

    Adrenaline

    i got g_mode 0 and g_medics 193 and 2 lua's installed on server and they are rules.lua and spec.lua nothing else :/
  3. Hitman

    Adrenaline

    i have checked everything with Rcon before making this thread so i dont think that might a problem hmm..
  4. Hitman

    Adrenaline

    my g_medics was 193 i did it 65 but still dosent work :/
  5. Hitman

    Adrenaline

    i tried it is still there i tried doing g_skills 3
  6. Hitman

    Adrenaline

    hey i wanna put adrenaline off but i dont see how in documentation or iam blind xD my g_skills is 5 and g_misc is 134 how can i please answer i want to remove adrenaline totally from server
  7. Hitman

    Bots

    thanks alot it works perfect!
  8. Hitman

    Bots

    hey is there a way to put bots using server.cfg i mean i want server to set maxbots 8 whenever a new map starts so if some guy kicked bots with command and forgot to add them back then after map end they come back automatically how can i do this? Regards, Hitman.
  9. Hitman

    bots spec

    hmm i just wanna make a command !spec nothing else
  10. Hitman

    bots spec

    oh sure but can ya tell me after changing that what should i do?
  11. Hitman

    bots spec

    hmm i dont get what u mean coz i want to make a command like !specbots
  12. Hitman

    bots spec

    hello , can you guys tell me how can i make a command from which i can put all bots to spec not kick them?
  13. Hitman

    Map limit

    ok working fine thanks
  14. Hitman

    Map limit

    hello guys can you guys tell me how to make a map time limit with our own limit like in mapvotecycle.cfg i did this set d6 "set g_gametype 6 ; map eagles_2ways_b3 ;timelimit 20; set nextmap vstr d7"but not working so any other method?
  15. Hitman

    Sound.pk3

    heya guys, i made a sound.pk3 files and put all sounds sound/announces/spree30.wav this is the place of my sounds but still killing spree sounds dosent work and if i do in console /play sound/announces/spree30.wav it dosent works but if i do /play /sound/announces/spree30.wav it works fine so its a problem or something else?
  16. sorry but iam Really "Newbie" in lua things so i should write this lua like this? this is my lua so where i should write this code in this file? ---------------------------------------------------------------------- -- AutoPromo - An Enemy Territory Auto Promoting Mod ---------------------------------------------------------------------- description = "AutoPromo" version = "1.1" ---------------------------------------------------------------------- -- This script can be freely used and modified as long as the original -- authors are mentioned. -- Created by Perlo_0ung, edited by Dragon -- Adapted for silEnT mod 0.5.0 and higher ---------------------------------------------------------------------- -- CONFIGURATION ---------------------------------------------------------------------- lvl1xp = 1111 -- XP needed for level 1 lvl2xp = 2999 -- XP needed for level 2 lvl3xp = 4599 -- XP needed for level 3 lvl4xp = 100000 -- XP needed for level 4 ---------------------------------------------------------------------- -- DO NOT EDIT BELOW THIS LINE -- UNLESS YOU KNOW WHAT YOU'RE DOING ---------------------------------------------------------------------- function et_InitGame(levelTime,randomSeed,restart) local modname = string.format("%s v%s", description, version) et.G_Print(string.format("%s loaded\n", modname)) et.RegisterModname(modname) end -- TheSilencerPL - To make it better, faster and less aggravating -- for the game, store the XP locally and reuse it function et_ClientSpawn(clientNum, revived, teamChange, restoreHealth) local valXP = getXP(clientNum) if valXP >= lvl1xp and valXP < lvl2xp then setlevel(clientNum,1,lvl1xp) elseif valXP >= lvl2xp and valXP < lvl3xp then setlevel(clientNum,2,lvl2xp) elseif valXP >= lvl3xp and valXP < lvl4xp then setlevel(clientNum,3,lvl3xp) elseif valXP >= lvl4xp then setlevel(clientNum,4,lvl4xp) end end function getXP(playerID) return et.gentity_get(playerID, "ps.persistant", 0) end function getlevel(playerID) return et.G_shrubbot_level(playerID) end function setlevel(playerID, newlevel, xp) local name = et.gentity_get(playerID,"pers.netname") if isBot(playerID) or noGuid(playerID) then return end if newlevel <= getlevel(playerID) then return end et.trap_SendServerCommand(-1,"bp \"^nCongratulations ^7"..name.."^n, ^nyou have ^nbeen ^npromoted ^nto ^na ^nlevel ^7"..newlevel.." ^nuser!\"") et.trap_SendConsoleCommand( et.EXEC_APPEND, "setlevel ".. playerID.." "..newlevel.."\n" ) et.trap_SendConsoleCommand( et.EXEC_APPEND, "readconfig\n" ) end function noGuid(playerID) local userinfo = et.trap_GetUserinfo( playerID ) local guid = et.Info_ValueForKey( userinfo, "sil_guid" ) if guid == "NO_GUID" or guid == "unknown" then return true end end function isBot(playerID) if et.gentity_get(playerID,"ps.ping") == 0 then return true end end
  17. yeah but is it possible that we can use both? like who want to use flags they use flags and who wants to use commands they can use that is it possible?
  18. it is just X Number of xps if someone gains they will get promotion but i want like if X number of xps gained and if the player is "X" level then only he will get promotion not just xps
  19. can u tell me how can i make like this If people get X number of xps and if that player is X level then only he gets promotion or not
  20. Hitman

    2 things

    about the 1st one? and thanks
  21. Hitman

    2 things

    hello guys i want to know 2 things if possible 1st) How can i make autopromo.lua Promote someone if they reached x number of xps and if that player is X level if the player is not that X level then he/she does not get a promotion 2nd) is it possible to make a command like !seen ? (like on nitmod) its really good if its possible with lua or [command] or something can ya guys tell me how please. Thanks please help me. Thank you. Regards, *sA|Hitman.
  22. and check ur baseurl once if its right or wrong and dont forget to upload silent files into ur redirect folder
  23. Hitman

    Hitsounds

    ok now it works perfectly but 1 more thing by default i see all clients are /cg_hitsoundtype 1 so they still listening silent mod hitsounds how can i make they listen only to my custom hitsounds?
×
×
  • Create New...