Now i have other problem 
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;
}
SendClientMessage(playerid, COLOR_ROJO,"============================================================================");
break;
|
Originally Posted by WackoX
How is PTP_RADIO defined?
|
|
Originally Posted by biltong
If you're using an old version of ZCMD, that will work, but if you're using 0.3.1 you have to use CMD:whatever(playerid, params[])
|