cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Share Posted February 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
0 LOOLP - OFF Posted February 14, 2020 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted February 14, 2020 - script ScriptLOOLP -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == "prontera"){ mes " "; } end; } prontera mapflag loadevent Worked. 1 Quote Link to comment Share on other sites More sharing options...
0 BeWan Posted February 14, 2020 Group: Members Topic Count: 20 Topics Per Day: 0.01 Content Count: 403 Reputation: 249 Joined: 07/04/19 Last Seen: 10 hours ago Share Posted February 14, 2020 try this - script mapflag -1,{ OnPCLoadMapEvent: if (gen_fild01 == gen_fild01){ mes "[SOS]"; mes "Help-me"+strcharinfo((0); close; } } 1 Quote Link to comment Share on other sites More sharing options...
0 cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Author Share Posted February 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
0 LOOLP - OFF Posted February 14, 2020 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted February 14, 2020 OnPCLoginEvent: if( strcharinfo(3) == "gen_fild01"){ } end; 1 Quote Link to comment Share on other sites More sharing options...
0 cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Author Share Posted February 14, 2020 3 minutes ago, dev LOOLP said: OnPCLoginEvent: if( strcharinfo(3) == "gen_fild01"){ } end; did not work Quote Link to comment Share on other sites More sharing options...
0 LOOLP - OFF Posted February 14, 2020 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted February 14, 2020 OMG! Look what I sent you and analyze, think a little. The correct answer has already been given. 1 Quote Link to comment Share on other sites More sharing options...
0 cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Author Share Posted February 14, 2020 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? Quote Link to comment Share on other sites More sharing options...
0 LOOLP - OFF Posted February 14, 2020 Group: Members Topic Count: 12 Topics Per Day: 0.01 Content Count: 233 Reputation: 51 Joined: 12/20/18 Last Seen: March 10, 2021 Share Posted February 14, 2020 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? 1 Quote Link to comment Share on other sites More sharing options...
0 cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Author Share Posted February 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
0 cder Posted February 14, 2020 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 96 Reputation: 0 Joined: 08/06/18 Last Seen: June 8, 2021 Author Share Posted February 14, 2020 5 minutes ago, dev LOOLP said: - script ScriptLOOLP -1,{ OnPCLoadMapEvent: if( strcharinfo(3) == "prontera"){ mes " "; } end; } prontera mapflag loadevent Worked. Thanks, Solved Quote Link to comment Share on other sites More sharing options...
Question
cder
I need to put it when the player enters this map, this message appears, can someone help me?
Script:
- script ifmap -1,{
OnPCLoadMapEvent:
if ("gen_fild01"){
mes "[SOS]";
mes "Help-me"+strcharinfo((0);
close;
}
end;
}
MapFlag:
gen_fild01 mapflag loadevent
Link to comment
Share on other sites
10 answers 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.