ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 17-Jul-17 09:59:15

kawka
Member
Registered: 17-Jul-17
Posts: 2

Free xp for new player

Hello!
Could someone help me to create a script for giving a new player 4000 xp?

Big Thanks!

Offline

#2 19-Jul-17 23:09:28

jay1110
BETA Tester
Registered: 01-Sep-12
Posts: 238
Website

Re: Free xp for new player

Hi,
ask on twc forum, maybe they can help you.

Offline

#3 09-May-23 08:20:54

Drago
Member
Registered: 07-May-23
Posts: 10

Re: Free xp for new player

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

#4 15-May-23 20:00:23

kawka
Member
Registered: 17-Jul-17
Posts: 2

Re: Free xp for new player

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

Board footer

Powered by FluxBB