28.01.2018, 21:33
Код HTML:
switch(Account[playerid][DuelType]) { case 0: { new duelmsg[128]; format(duelmsg, sizeof(duelmsg), "DUEL: %s has won the duel against %s at %s! (Bet: %d)", GetName(killerid), GetName(playerid), duelMapNameList[Account[playerid][Map]], Account[Account[playerid][DuelInviter]][Bet]); GivePlayerMoneyEx(killerid, Account[Account[playerid][DuelInviter]][Bet] * 2); SendClientMessageToAll(pCOLOR_LIGHTBLUE, duelmsg); CompleteDuel(playerid, killerid);
Idk, try it and tell me if it's working or not.
Edit : I am talking about the msg that's being sent to everyone.
Edit #2 : If that's not what are you talking about, Then please describe the problem.