cder Posted February 14, 2020 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 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 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 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 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 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 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 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 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 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 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...
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