Ximboliex 86 Report post Posted January 3, 2017 Hi! PKODev Need your help please' This was a scripts that I intrigue, when you hit the mob you add an amount of money either based on your max or a formula credited by the scripter, the author of such scripts is Fisal Mohamed of GPKO, some of you have knowledge of How to create such scripts or tell me where you can run this scripts Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted January 3, 2017 18 minutes ago, Ximboliex said: Hi! PKODev Need your help please' This was a scripts that I intrigue, when you hit the mob you add an amount of money either based on your max or a formula credited by the scripter, the author of such scripts is Fisal Mohamed of GPKO, some of you have knowledge of How to create such scripts or tell me where you can run this scripts You can either use the "is_friend" function or the function that is called upon dealing damage to players/monsters. The "is_friend" function is triggered each time you attack another player/monster to check whether they are friendly or not (in other words if you can deal damage to them). If you want to just add money based on the attacker's minimum/maximum attack directly, you can use that. I can't remember the exact name of the function that deals with all the dealt damage after all the reductions, it's somewhere within the file with all the skills. Within that function you can use the final damage output and add that as a money value as well. 2 Quote Share this post Link to post Share on other sites
Ximboliex 86 Report post Posted January 3, 2017 Thank's @Angelix Quote Share this post Link to post Share on other sites