30.06.2016, 21:13
Like this:
Isn't working...
Код:
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; } }