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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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