@recallmap for Hercules

This can be done via script i forgot where i get it.... or who made it but credits to them.

Code:
-    script    MapRecall    -1,{    OnInit:        bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;        end;    OnMapRecall:        if(getgmlevel()==0) end;        getmapxy .@map$,.@x,.@y,0;        mapwarp .@map$,.@map$,.@x,.@y,0;}
 
This can be done via script i forgot where i get it.... or who made it but credits to them.

Code:
-    script    MapRecall    -1,{    OnInit:        bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;        end;    OnMapRecall:        if(getgmlevel()==0) end;        getmapxy .@map$,.@x,.@y,0;        mapwarp .@map$,.@map$,.@x,.@y,0;}
Hello! how can I avoid @autotrade players to be @maprecalled?
 
the easy way is to not allow vending in the "lobby" map xD

 
This can be done via script i forgot where i get it.... or who made it but credits to them.

-  script  MapRecall  -1,{  OnInit:    bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;    end;  OnMapRecall:    if(getgmlevel()==0) end;    getmapxy .@map$,.@x,.@y,0;    mapwarp .@map$,.@map$,.@x,.@y,0;}
Hello! how can I avoid @autotrade players to be @maprecalled?
we dont need that command becoz we have  getmemberaid

 usage: @maprecall "mapname"

Code:
-    script    MapRecall    -1,{end;OnInit:	bindatcmd "maprecall",strnpcinfo(3)+"::OnMapRecall",70,70;end;OnMapRecall:	.@smap$ =,.@atcmd_parameters$[1];	if(getmapusers(.@smap$) == -1) {		mes "invalid map name..";		close;	}	getmapxy(.@tmap$,.@tx,.@ty,0);	getmemberaid ALL_SAMEMAP, .@smap;	for ( .@i = 0; .@i < $@onlinecount; .@i++ ) {		if(!attachrid($@onlineaid[.@i])) continue;		if(!checkvending()) warp(.@tmap$, .@tx, .@ty);				}	end;		}
 
Back
Top