F Fatalis New member Messages 90 Points 0 May 16, 2013 #2 I want to suggest a checkmapindex script command i think it will be useful like Code: input .@map$;if( checkmapindex(.@map$) == 0){ mes "Map not Found"; close; }.... Last edited by a moderator: Jun 18, 2013
I want to suggest a checkmapindex script command i think it will be useful like Code: input .@map$;if( checkmapindex(.@map$) == 0){ mes "Map not Found"; close; }....
N Napster New member Messages 20 Points 0 May 16, 2013 #3 can use command if (getmapusers(.@map$) < 0 ) { mes "Map not Found"; close; }
F Fatalis New member Messages 90 Points 0 May 16, 2013 #4 @napser because i will use it on some reasons
Emistry Support Leaders Messages 526 Points 0 Location Malaysia Github Emistry Emulator May 16, 2013 #5 the sample show by napster work exactly like what you want... getmapusers( "mapname" ) will return -1 if the map isnt exist.
the sample show by napster work exactly like what you want... getmapusers( "mapname" ) will return -1 if the map isnt exist.
M mkbu95 Retired Staff Messages 237 Points 0 Emulator Hercules May 17, 2013 #6 As it has been already said, it will return -1 if the map does not exists.