Random756 0 Posted August 3, 2019 Hello, I am trying to make a script in order to give a bonus to player who are in a certain map. For example, let's say I want to give 1 str to player who are in pay_fild01. Here is what I use : - script payonbonus FAKE_NPC,{ end; OnPCLoadMapEvent: if( strcharinfo(3) == "pay_fild01" ){ bonus bStr,1; } end; } pay_fild01 mapflag loadevent Sadly it's not working. Can someone helps me ? Thanks you ! Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted August 9, 2019 item bonuses get reloaded after all sorts of things. check out Annieruru's OnPCStatCalcEvent plugin: https://github.com/AnnieRuru/Release/tree/master/plugins/OnPCStatCalcEvent Quote Share this post Link to post Share on other sites
Hello,
I am trying to make a script in order to give a bonus to player who are in a certain map.
For example, let's say I want to give 1 str to player who are in pay_fild01.
Here is what I use :
Sadly it's not working. Can someone helps me ?
Thanks you !
Share this post
Link to post
Share on other sites