Insurance problem.
#8

Like this:

Код:
if(insurance >= 0 && insurance <= 10)
		{
			format(string, sizeof(string), " Your insurance has been changed to %s.", GetInsuranceName(playerid));
			SendClientMessageEx(giveplayerid,COLOR_LIGHTBLUE,string);
			format(string, sizeof(string), " You have changed %s's insurance to %s.", GetPlayerNameEx(giveplayerid), GetInsuranceName(playerid));
			SendClientMessageEx(playerid,COLOR_LIGHTBLUE,string);
			format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has set %s's insurance to %s.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), GetInsuranceName(playerid));
			ABroadCast(COLOR_YELLOW, string, 4);
			PlayerInfo[giveplayerid][pInsurance] = insurance;
			Log("logs/insurance.log", string);
			return 1;
		}
	}
Isn't working...
Reply


Messages In This Thread
Insurance problem. - by IndependentGaming - 30.06.2016, 19:48
Re: Insurance problem. - by Runn3R - 30.06.2016, 20:08
Re: Insurance problem. - by IndependentGaming - 30.06.2016, 20:15
Re: Insurance problem. - by IndependentGaming - 30.06.2016, 20:41
Re: Insurance problem. - by Stinged - 30.06.2016, 20:49
Re: Insurance problem. - by IndependentGaming - 30.06.2016, 20:57
Re: Insurance problem. - by Stinged - 30.06.2016, 21:03
Re: Insurance problem. - by IndependentGaming - 30.06.2016, 21:13
Re: Insurance problem. - by Stinged - 30.06.2016, 21:17
Re: Insurance problem. - by IndependentGaming - 30.06.2016, 21:18

Forum Jump:


Users browsing this thread: 2 Guest(s)