24-07-2017, 04:09 PM
(This post was last modified: 24-07-2017, 04:10 PM by Dominator56.)
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
end5 minute code writing, let me know if you need any help or modifications
Spartans never die, they're just Missing In Action.
![[Image: ?E3Xu6rH.png,X19xdzh.png]](http://img.twcclan.org/?E3Xu6rH.png,X19xdzh.png)
Thanks to AgentHani for these sick sigs!
![[Image: tumblr_n9xzshUJW91tallrjo1_250.gif]](http://68.media.tumblr.com/b1bf47cdc0b8a88fa19fef7309301200/tumblr_n9xzshUJW91tallrjo1_250.gif)
![[Image: ?E3Xu6rH.png,X19xdzh.png]](http://img.twcclan.org/?E3Xu6rH.png,X19xdzh.png)
Thanks to AgentHani for these sick sigs!

![[Image: tumblr_n9xzshUJW91tallrjo1_250.gif]](http://68.media.tumblr.com/b1bf47cdc0b8a88fa19fef7309301200/tumblr_n9xzshUJW91tallrjo1_250.gif)




Join us on our TWC Discord channel
