Dynamic Checkpoint bug
#5

PHP код:
CMD:deletehouse(playeridparams[])
{

    for(new 
1sizeof(HouseInfo); h++)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0HouseInfo[h][hEntranceX], HouseInfo[h][hEntranceY], HouseInfo[h][hEntranceZ]))
        {
               if(
GetPlayerVirtualWorld(playerid) == HouseInfo[h][hWorld])
            {
                 if(
PlayerInfo[playerid][pAdmin] < 3) return SCM(playeridCOLOR_GREY,"You're not authorized to use this command.");
                 if(
HouseInfo[h][hOwned] == 1) return SCM(playeridCOLOR_LIGHTRED"This house is owned.");

                
HouseInfo[h][hOwned] = 0;
                
HouseInfo[h][hPrice] = 0;
                
HouseInfo[h][hOwner] = 0;
                
HouseInfo[h][hLocked] = 0;
                
HouseInfo[h][hMoney] = 0;
                
HouseInfo[h][hEntranceX] = 0;
                
HouseInfo[h][hEntranceY] = 0;
                
HouseInfo[h][hEntranceZ] = 0;
                
HouseInfo[h][hEntranceA] = 0;
                
HouseInfo[h][hExitX] = 0;
                
HouseInfo[h][hExitY] = 0;
                
HouseInfo[h][hExitZ] = 0;
                
HouseInfo[h][hExitA] = 0;
                
HouseInfo[h][hInt] = 0;
                
HouseInfo[h][hWorld] = 0;

                
Delete3DTextLabel(HouseInfo[h][hDLabel]);

                
DestroyDynamicPickup(HouseInfo[h][hOutsideIcon]);

                new 
string[64];

                
format(stringsizeof(string), HPATHh);
                
fremove(string);
            }
        }
    }
    return 
1;

And yes, it does. Forgot to show this image:
Reply


Messages In This Thread
Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 06:01
Re: Dynamic Checkpoint bug - by Kane - 17.05.2017, 06:06
Re: Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 06:15
Re: Dynamic Checkpoint bug - by Kane - 17.05.2017, 06:31
Re: Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 06:36
Re: Dynamic Checkpoint bug - by Kane - 17.05.2017, 06:40
Re: Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 06:45
Re: Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 06:48
Re: Dynamic Checkpoint bug - by Kane - 17.05.2017, 06:49
Re: Dynamic Checkpoint bug - by NealPeteros - 17.05.2017, 07:07

Forum Jump:


Users browsing this thread: 5 Guest(s)