11.04.2010, 09:08
ЎHi again to evryone!
Now i have other problem 
Look the video..
Unknown Command..
That's the problem...when i write /infocasa(houseinfo) or /entrar(enter) /salir(exit) the command works but it say "Unknown Command" too....
That's the code of /infocasa:
Thanks


Look the video..
Unknown Command..
That's the problem...when i write /infocasa(houseinfo) or /entrar(enter) /salir(exit) the command works but it say "Unknown Command" too....
That's the code of /infocasa:
Код:
zcmd(infocasa, playerid, params[]) { #pragma unused params if(IsPlayerConnected(playerid)) { for(new h = 0; h <= CASAS_MAXIMAS; h++) { if(PlayerToPoint(PTP_RADIO, playerid, InfoCasa[h][SalidaCX], InfoCasa[h][SalidaCY], InfoCasa[h][SalidaCZ])) { new IsLocked[24]; if(InfoCasa[h][BloqueadaC] == 1) { IsLocked = "Sн"; } else { IsLocked = "No"; } SendClientMessage(playerid, COLOR_ROJO,"=============================[Estado de la Casa]============================"); SendFormattedMessage(playerid, COLOR_BLANCO, "Propietario: %s - Lujo[%d] - PrecioRenta[%dЂ] - PrecioVenta[%dЂ]", InfoCasa[h][NombreC], InfoCasa[h][LujoC], InfoCasa[h][RentaC], InfoCasa[h][VenderC]); SendFormattedMessage(playerid, COLOR_BLANCO, "Bloqueada[%s] - IdCasa[%d] - CoordsSalida[X:%.4f, Y:%.4f, Z:%.4f]", IsLocked, h, InfoCasa[h][SalidaCX], InfoCasa[h][SalidaCY], InfoCasa[h][SalidaCZ]); SendClientMessage(playerid, COLOR_ROJO,"============================================================================"); } } } return 1; }
