Tsuuu
New member
- Messages
- 80
- Points
- 0
- Emulator
Good Morning, could someone tell me how I can remove this 'warning' in map-server:

Here is the script:
PS: I'm a beginner, so please do not repair the code, just help me optimize it.
PS²: I sure use hercules.

Here is the script:
bindatcmd "warp",strnpcinfo(3)+"::OnAtcommand4";
Code:
OnAtcommand4:
getmapxy @map$,@x,@y,0;
if(@map$=="bra_dun01") {
message strcharinfo(0),"WARP OFF.";
end;
} else {
if(.@atcmd_parameters$[1])
{
if ( WARPCOORCD + 5 > gettimetick(2) ) {
message strcharinfo(0),"[Delay Warp com Coordenadas] ---> Você precisa esperar " + ( WARPCOORCD + 5 - gettimetick(2) ) + " segundos.";
end;
} else {
atcommand "@warp "+.@atcmd_parameters$[0]+" "+.@atcmd_parameters$[1]+" "+.@atcmd_parameters$[2]+"";
WARPCOORCD = gettimetick(2);
end;
}
} else {
atcommand "@warp "+.@atcmd_parameters$[0]+"";
}
}
}
PS: I'm a beginner, so please do not repair the code, just help me optimize it.
PS²: I sure use hercules.