31.03.2015, 20:23
Hola. Utilizo la GM de ZC. Y pues quiero borrar el comando /tlc
Pero, cuando borro el cуdigo. Me arroja estos warnings.
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_x"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_y"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_z"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_x"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_y"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_z"
Y fui a esas 2 lнneas. Y estб esto:
emdtrace = 1; emdtrace_x = trace_x; emdtrace_y = trace_y; emdtrace_z = trace_z;
pdtrace = 1; pdtrace_x = trace_x; pdtrace_y = trace_y; pdtrace_z = trace_z;
Por favor ayuda.
Код:
zcmd(tlc, playerid, params[]) { if(Team_LSPD(playerid)) { if(pdtrace == 0 || pdtrace_x == 0 || pdtrace_y == 0 || pdtrace_z == 0) { SendClientMessageEx(playerid, 0xFF8080FF, ">><<>><<>> Estableciendo contacto ... >><<>><<>>"); SendClientMessageEx(playerid, COLOR_WHITE, "GPS: Servicio no Disponible"); //SetPlayerCheckpoint(playerid,pdtrace_x,pdtrace_y,pdtrace_z,8.0); } else SendClientMessageEx(playerid, COLOR_WHITE, "Error en la localizacion de la persona que llama."); } else if(Team_SAMD(playerid)) { if(emdtrace == 0 || emdtrace_x == 0 || emdtrace_y == 0 || emdtrace_z == 0) { SendClientMessageEx(playerid, COLOR_WHITE, "GPS: Servicio no Disponible"); //SetPlayerCheckpoint(playerid,emdtrace_x,emdtrace_y,emdtrace_z,8.0); } else SendClientMessageEx(playerid, COLOR_WHITE, "Error al localizar!"); } else SendClientMessageEx(playerid, COLOR_WHITE, "[ERROR]: No tienes autorizaciуn a usar este comando."); return 1; }
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_x"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_y"
ZenonCity.net.pwn(45293) : warning 204: symbol is assigned a value that is never used: "emdtrace_z"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_x"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_y"
ZenonCity.net.pwn(45341) : warning 204: symbol is assigned a value that is never used: "pdtrace_z"
Y fui a esas 2 lнneas. Y estб esto:
emdtrace = 1; emdtrace_x = trace_x; emdtrace_y = trace_y; emdtrace_z = trace_z;
pdtrace = 1; pdtrace_x = trace_x; pdtrace_y = trace_y; pdtrace_z = trace_z;
Por favor ayuda.