Jump to content
  • 0

OnPCLoadMapEvent Map message


cder

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

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

 

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  233
  • Reputation:   49
  • Joined:  12/20/18
  • Last Seen:  

-	script	ScriptLOOLP	-1,{

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

}

prontera	mapflag	loadevent 

Worked.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

try this
 

-	script	mapflag	-1,{

OnPCLoadMapEvent:

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

}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  233
  • Reputation:   49
  • Joined:  12/20/18
  • Last Seen:  

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

}

end;

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

3 minutes ago, dev LOOLP said:

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

}

end;

did not work
 
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  233
  • Reputation:   49
  • Joined:  12/20/18
  • Last Seen:  

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

The correct answer has already been given.
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

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?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.01
  • Content Count:  233
  • Reputation:   49
  • Joined:  12/20/18
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.02
  • Content Count:  96
  • Reputation:   0
  • Joined:  08/06/18
  • Last Seen:  

5 minutes ago, dev LOOLP said:

-	script	ScriptLOOLP	-1,{

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

}

prontera	mapflag	loadevent 

Worked.

Thanks, Solved

Link to comment
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.

×
×
  • Create New...