Jump to content
  • 0
Sign in to follow this  
Random756

Script to give bonus for player in X map

Question

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 !

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.