You are not logged in.
Pages: 1
Hello!
Could someone help me to create a script for giving a new player 4000 xp?
Big Thanks!
Offline
Hi,
ask on twc forum, maybe they can help you.
Offline
Hi!
I am also looking for this famous script. did you find it? I intentionally revived this topic because, like many other topics, we are frustrated with the finality.
You open a subject but you do not come back to tell us if you have obtained satisfaction.
Offline
If you are still looking:
givexp.lua
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", 8)) < 20 then
for i = 0, 6 do
et.G_XP_Set(cno, 500, i, 0) -- Change the '500' if you want to give a different amount of XP
end
end
end
Last edited by kawka (15-May-23 20:14:10)
Offline
Thank you very much kawka. It works very well.
Do you have a lua script to give xp to a specific player?
Offline
http://etmods.net/forums/viewtopic.php?id=238
example:
1. Join Team
2. !give etplayter skill 2 60000
Last edited by kawka (22-Jun-23 07:33:06)
Offline
Pages: 1