Error loop run out of limit
#4

[I]This should works :

PHP код:
CMD:deleteallhouseex(playeridparams[])
{
    for(new 
0sizeof(HouseInfo); i++)
    {
        
HouseInfo[i][hLevel] = 0;
        
HouseInfo[i][hCustomInterior] = 0;
        
HouseInfo[i][hDescription] = 0;
        
format(HouseInfo[i][hOwnerName],MAX_PLAYER_NAME"Nobody");
        
HouseInfo[i][hExteriorX] = 0;
        
HouseInfo[i][hExteriorY] = 0;
        
HouseInfo[i][hExteriorZ] = 0;
        
HouseInfo[i][hExteriorR] = 0;
        
HouseInfo[i][hExteriorA] = 0;
        
HouseInfo[i][hLock] = 0;
        
HouseInfo[i][hRentable] = 0;
        
HouseInfo[i][hRentFee] = 0;
        
HouseInfo[i][hValue] = 0;
        
ClearHouse(i);
        
DestroyDynamicPickup(HouseInfo[i][hPickupID]);
        
DestroyDynamic3DTextLabel(HouseInfo[i][hTextID]);
        
HouseInfo[i][hCustomExterior] = 0;
        
SaveHouses();
    }
    
SendClientMessage(playeridCOLOR_YELLOW"All house deleted.");
    return 
1;
}[/
i


KillerDVX,
Reply


Messages In This Thread
Error loop run out of limit - by meocahat - 11.07.2015, 03:59
Re: Error loop run out of limit - by Prokill911 - 11.07.2015, 06:21
Re: Error loop run out of limit - by DarkLouis - 11.07.2015, 08:08
Re : Error loop run out of limit - by KillerDVX - 11.07.2015, 12:42
Re: Error loop run out of limit - by meocahat - 11.07.2015, 14:25
Re: Error loop run out of limit - by liquor - 11.07.2015, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)