heal upgrade help
#4

Quote:
Originally Posted by marshmallow
Посмотреть сообщение
hello this is my /hupgrade command
Код:
CMD:hupgrade(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
    if(IsPlayerConnected(playerid))
	{
		if (PlayerInfo[playerid][pPhousekey] != 999 && strcmp(PlayerInfo[playerid][pNormalName], HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0)
		{
			ShowPlayerDialog(playerid, DIALOG_HUPGRADE, DIALOG_STYLE_LIST, "House upgrades", "Food upgrade  - $50,000\nMusic upgrade  - {FFFF00}15 premium points", "Select", "Exit");
		}
		else return SendClientMessage(playerid, COLOR_WHITE, "You don't own a house.");
	}
	return 1;
}
i want add a command /heal for heal in my own house (if house upgraded)
how to add ?
Please help
Reply


Messages In This Thread
heal upgrade help - by marshmallow - 24.05.2018, 04:54
Re: heal upgrade help - by SeanDenZYR - 24.05.2018, 07:35
Re: heal upgrade help - by Sew_Sumi - 24.05.2018, 07:46
Re: heal upgrade help - by marshmallow - 25.05.2018, 05:31
Re: heal upgrade help - by Sew_Sumi - 25.05.2018, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)