Random756
New member
- Messages
- 50
- Points
- 0
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 !
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 !