Set the XP of a player

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
[D&E]kamaleon
Posts: 2
Joined: Wed Jan 17, 2007 11:54 am
Contact:

Set the XP of a player

Post by [D&E]kamaleon »

Hi!!
I am having a LUA that load the XP's players, but i dont know if it is possible.

I use
et.gentity_set( clientNum, "ps.persistant", 0, xp )
But it dont take effect in the game, the xp dont change

Any idea??
Image
Image
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

I dont think you can do it that way, in fact, I dont believe you can control XP at all via lua at the moment. There appear to have been requests for this though, so it may appear in the next release.

http://wolfwiki.anime.net/index.php/Tal ... ua_Mod_API
GhosT:McSteve
Ghostworks Gaming Community
[D&E]kamaleon
Posts: 2
Joined: Wed Jan 17, 2007 11:54 am
Contact:

Post by [D&E]kamaleon »

Ok, thank you very mutch for the answer.
Image
Image
Post Reply