18.10.2014, 05:28
Is this script correct?
if not please tellme whats wrong / give me script fixed
pawn Код:
CMD:sellallhouses(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 99999)
{
for (new HouseID = 0; HouseID < MAX_HOUSES; HouseID++)
ClearHouse(HouseID);
HouseInfo[HouseID][hGLUpgrade] = 1;
return 1;
}
else
{
SendClientMessageEx(playerid, COLOR_GREY, "You are not authorized to use that command!");
}
return 1;
}