how to fix /hnext
#7

CMD:nexth(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pShopTech] == 1)
{
SendClientMessageEx(playerid, COLOR_RED, "* Listing next available house...");
for(new x;x<MAX_HOUSES;x++)
{
if(HouseInfo[x][hOwned] == 0)
{
new string[128];
format(string, sizeof(string), "%d is available to use.", x);
SendClientMessageEx(playerid, COLOR_WHITE, string);
break;
}
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD2, "You are not authorized to use that command!");
return 1;
}
return 1;
}
Reply


Messages In This Thread
how to fix /hnext - by betta - 20.04.2013, 21:38
Re: how to fix /hnext - by Sithis - 21.04.2013, 09:55
Re: how to fix /hnext - by KeithLatteri - 21.04.2013, 16:28
Re: how to fix /hnext - by cagaming - 21.04.2013, 16:33
Re: how to fix /hnext - by Ibrahim.E - 21.04.2013, 16:46
Re: how to fix /hnext - by alimash - 21.04.2013, 17:44
Re: how to fix /hnext - by betta - 23.04.2013, 19:33
Re: how to fix /hnext - by matty1415 - 23.04.2013, 19:36
Re: how to fix /hnext - by betta - 23.04.2013, 19:36
Re: how to fix /hnext - by matty1415 - 23.04.2013, 20:31

Forum Jump:


Users browsing this thread: 2 Guest(s)