16.11.2017, 22:55
Hi, I have this one working 100%
And wanted to change it to like that:
But giving me this one warnung why?
Код:
format(szMessage, sizeof(szMessage), "You have accepted the invitation and joined the %s, you were invited by %s.", FamilyInfo[InviteFamily[playerid]][FamilyName], GetPlayerNameEx(InviteOffer[playerid])); SendClientMessageEx(playerid, COLOR_LIGHTBLUE, szMessage);
Код:
format(string, sizeof(string), "You have accepted %s's invite, and are now a member of %s.", GetPlayerNameEx(InviteOffer[playerid], FamilyInfo[InviteFamily[playerid]][FamilyName])); SendClientMessageEx(playerid, COLOR_LIGHTBLUE, string);
Код:
warning 202: number of arguments does not match definition