Bean666 Posted May 10, 2015 Posted May 10, 2015 hello , is there anyway to get the addPlayerEXP Function , which adds the player EXP , because castillo's system is compiled. ._. or is there anyway to make it? and help me?
MIKI785 Posted May 10, 2015 Posted May 10, 2015 What resource are you talking about? If it's stored as element data you can simply use setElementData to modify the value.
xXMADEXx Posted May 11, 2015 Posted May 11, 2015 You could just use it as an export. Syntax: bool addPlayerEXP ( player thePlayer, int theExperience ) Example: addEventHandler ( "onPlayerLogin", root, function ( ) exports.exp_system:addPlayerEXP ( source, 100 ); outputChatBox ( "Here's 100 exp for logging in!", source ); end );
Bean666 Posted May 11, 2015 Author Posted May 11, 2015 ah lol , nvm thanks btw i wanted the addPlayerEXP Function itself but nvm.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now