Jump to content
  • 0

Question

2 answers to this question

Recommended Posts

  • 0
Posted
10 hours ago, Origami said:

I want to request for a script that will get all the total exp the player gained since the login

-	script	EXP_THING	-1,{
OnPCLoginEvent:
	@base_exp = BaseExp;
	end;

OnPCLogoutEvent:
	.@gained_exp = BaseExp - @base_exp;
}

Maybe not completely reliable but I can't think of any other way todo it without individually tracking everything killed or a source mod.

  • 0
Posted
2 hours ago, Skorm said:

-	script	EXP_THING	-1,{
OnPCLoginEvent:
	@base_exp = BaseExp;
	end;

OnPCLogoutEvent:
	.@gained_exp = BaseExp - @base_exp;
}

Maybe not completely reliable but I can't think of any other way todo it without individually tracking everything killed or a source mod.

Yeah I think its a source code thingy also ...thats why I requested .. hehehe thanks for this idea tho sir

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...