06.01.2016, 18:19
Hey, I need help with this error , Thx
4578 is the first line string format one
Код:
(4578) : warning 202: number of arguments does not match definition
Код:
format(string, sizeof(string), "%s have won the duel against opponent %s [weapon: %s, bet: $%i]", GetPlayerName(gDuel[playerid][d_opponent]), GetPlayerName(playerid), GetWeaponName(gDuel[playerid][d_weapon]), gDuel[playerid][d_bet]); SendClientMessageToAll(COLOR_AQUA, string); format(string, sizeof(string), "%s have won the duel against opponent %s", GetPlayerName(gDuel[playerid][d_opponent]), GetPlayerName(playerid));