Join us on our TWC Discord channel

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lua scripts (archived by NightFall)
#2
Code:
local version = "0.1" function et_InitGame(levelTime, randomSeed, restart) et.RegisterModname ("XP Give Module " .. version) end function et_ClientBegin(cno) if tonumber(et.gentity_get(cno, "ps.stats", 5)) < 4000 then for i = 0, 6 do et.G_XP_Set(cno, 570, i, 0) -- Change the '570' if you want to give a different amount of XP end end end

5 minute code writing, let me know if you need any help or modifications Smile
Spartans never die, they're just Missing In Action.

[Image: ?E3Xu6rH.png,X19xdzh.png]

Thanks to AgentHani for these sick sigs! Biggrin

[Image: tumblr_n9xzshUJW91tallrjo1_250.gif]



Messages In This Thread
Lua scripts (archived by NightFall) - by kawka1 - 24-07-2017, 12:57 PM
RE: Lua scripts - by Dominator56 - 24-07-2017, 04:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Lua scripts Player screenshots (archived by NightFall) Etrac 3 2,531 08-01-2018, 10:32 PM
Last Post: Etrac
  Lua scripts silent menu (archived by NightFall) Etrac 1 1,920 08-01-2018, 04:48 PM
Last Post: Etrac
  Lua Scripts (archived by NightFall) buksza1221 4 3,815 20-11-2017, 02:00 PM
Last Post: buksza1221
  Im looking for a programmer lua (archived by NightFall) kawka1 6 2,635 20-10-2017, 02:20 PM
Last Post: kawka1

Forum Jump:


Users browsing this thread: