Jump to content
  • 0

Get total exp


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.11
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...