Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

State Points Reset for all Player (Once time how?)


Nemesis23
Go to solution Solved by tierrilopes,

Question

Posted (edited)

Hi!

I would like to give state points reset to all registered player on the server. How can I do it? It's needed because had a State points bug on the server now it's fixed and the older players got lot state points and it's not reseted. Thank you if you can help me!

Have a nice day!

Edited by Nemesis23 (see edit history)
Link to post

2 answers to this question

Recommended Posts

  • 1
  • VIP
  • Solution
Posted (edited)
quest fix_points_bug begin
	state start begin
		when login begin
			if pc.getqf("fix_points") != 0 then
				return
			end
			pc.reset_point()
			pc.setqf("fix_points", 1)
			syschat("Status points have been reset")
		end
	end
end

 

Edited by tierrilopes (see edit history)
Link to post
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.