Jump to content
  • 0
Sign in to follow this  

Script to give bonus for player in X map



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,{

  if( strcharinfo(3) == "pay_fild01" ){
      bonus bStr,1;

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.

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.

Sign in to follow this  

  • Create New...

Important Information

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