Charge Money in CPP File

nugax

New Member
Joined
Mar 23, 2016
Messages
8
What is the code I would need to add/subtract money from a player. I know its in the CPP files.

I couldn't find any information by searching the board, but I suspect someone has asked this before.


Thanks,
-Nugax
 

Pake

Member
Joined
Dec 8, 2011
Messages
147
Check out Falacy/Tatwi's links below. I believe he had done this (though it may have all been in lua, cant remember).

https://tatwi.wordpress.com/
https://github.com/Tatwi/legend-of-hondo
 

Lasko

Moderator
Staff member
Moderator
Joined
Feb 13, 2012
Messages
295
You don't say why you want to add or subtract money??

If it's for a quest or the like, you could look at the RIS armour quest.
 

Himalayas

Member
Joined
Jan 19, 2016
Messages
106
Pake said:
Check out Falacy/Tatwi's links below.  I believe he had done this (though it may have all been in lua, cant remember).  

https://tatwi.wordpress.com/
https://github.com/Tatwi/legend-of-hondo
I agree with Pake; probably the best place to start looking! Tatwi has a slough of amazing scripts - including some interesting travel scripts.
 
Top Bottom