• 0
cder

OnPCLoadMapEvent Map message

Question

I need to put it when the player enters this map, this message appears, can someone help me?

 

Script:

Spoiler

-    script    ifmap    -1,{

OnPCLoadMapEvent:
if ("gen_fild01"){
    
    mes "[SOS]";
    mes "Help-me"+strcharinfo((0);
    close;
    }
end;
}
 

MapFlag:

Spoiler

gen_fild01 mapflag loadevent

 

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

try this
 

-	script	mapflag	-1,{

OnPCLoadMapEvent:

if (gen_fild01 == gen_fild01){
	mes "[SOS]";
    mes "Help-me"+strcharinfo((0);
    close;
}

}

 

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
26 minutes ago, BeWan said:

try this
 

-	script	mapflag	-1,{

OnPCLoadMapEvent:

if (gen_fild01 == gen_fild01){
	mes "[SOS]";
    mes "Help-me"+strcharinfo((0);
    close;
}

}

 

did not work

Share this post


Link to post
Share on other sites
  • 0

OnPCLoginEvent:
if( strcharinfo(3) == "gen_fild01"){

}

end;

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
3 minutes ago, dev LOOLP said:

OnPCLoginEvent:
if( strcharinfo(3) == "gen_fild01"){

}

end;

did not work
 

Share this post


Link to post
Share on other sites
  • 0

OMG! Look what I sent you and analyze, think a little. 

The correct answer has already been given.
  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, dev LOOLP said:

OMG! Look what I sent you and analyze, think a little. 

The correct answer has already been given.
-	script	ifmap	-1,{

OnPCLoginEvent:
if( strcharinfo(3) == "gen_fild01"){
		mes "SOS";
		close;
	}
end;
}
Well I'm already using the command OnPCLoginEvent, I created a system of hunger, thirst, sleep with it for the purpose working 100%, but how about a look if I missed something?

 

Share this post


Link to post
Share on other sites
  • 0

você não quer que tal situação aconteça, quando o jogador logar no mapa x ?
 

do you not want that situation to happen when the player logs on the map x?
 
  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, dev LOOLP said:

você não quer que tal situação aconteça, quando o jogador logar no mapa x ?
 

do you not want that situation to happen when the player logs on the map x?

 

kkkkk eu só quero que quando o jogador chegue no mapa apareça uma menssagem '-', não é ao logar no mapa e sim ao entrar no mapa

Share this post


Link to post
Share on other sites
  • 0
-	script	ScriptLOOLP	-1,{

OnPCLoadMapEvent:
if( strcharinfo(3) == "prontera"){
mes " ";
}
end;

}

prontera	mapflag	loadevent 

Worked.

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, dev LOOLP said:
-	script	ScriptLOOLP	-1,{

OnPCLoadMapEvent:
if( strcharinfo(3) == "prontera"){
mes " ";
}
end;

}

prontera	mapflag	loadevent 

Worked.

Thanks, Solved

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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...