Command results in "Unknown command"
#3

Doesn't work, in fact it returns 1 to avoid the message "Unknown command". I used some prints to see where it goes wrong, and the issue is when the variables are assigned, so probably an error is in this part:

pawn Код:
HouseInfo[newhouse][EntranceX] = x;
            HouseInfo[newhouse][EntranceY] = y;
            HouseInfo[newhouse][EntranceZ] = z;
            HouseInfo[newhouse][InsideX] = x;
            HouseInfo[newhouse][InsideY] = y;
            HouseInfo[newhouse][InsideZ] = z;
            HouseInfo[newhouse][Owned] = 0;
            HouseInfo[newhouse][Locked] = 0;
            HouseInfo[newhouse][Price] = price;
            HouseInfo[newhouse][AlarmInstalled] = 0;
            HouseInfo[newhouse][DoorRammed] = 0;
            HouseInfo[newhouse][CustomInt] = 0;
            HouseInfo[newhouse][CustomExt] = 0;
            format(HouseInfo[newhouse][Owner], 255, "Nobody");
Reply


Messages In This Thread
Command results in "Unknown command" - by Mado - 14.07.2013, 19:02
Re: Command results in "Unknown command" - by Maime - 14.07.2013, 19:37
Re: Command results in "Unknown command" - by Mado - 14.07.2013, 20:05
Re: Command results in "Unknown command" - by Maime - 14.07.2013, 22:44
Re: Command results in "Unknown command" - by Mado - 15.07.2013, 08:04
Re: Command results in "Unknown command" - by Mado - 15.07.2013, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)