24.05.2014, 05:55
Hmm..thanks for that.
But it does not send the message, something is wrong with this, maybe?:
But it does not send the message, something is wrong with this, maybe?:
pawn Код:
format(str, sizeof(str), ""RED"[DUEL] "LIGHTBLUE"%s(%d) has challenged you for a duel with "PREMIUM"%s"LIGHTBLUE"! (Use /accept or /deny)", GetName(playerid), playerid, getWeaponName(.id=gCurrentDuelWeaponID));
SendClientMessage(PlayerInfo[playerid][DuelTargetID], -1, str); // here?
PlayerInfo[PlayerInfo[playerid][DuelTargetID]][IsWaiting] = 1;