24.07.2014, 01:46
In the command you can do something like..
Then you use it with GetPVarInt(playerid, "Duelerid") in OnDialogResponse.
Will probably complicate things when receiving multiple duel requests though, would recommend making an array to accept multiple incoming duel requests or just block all requests to a player if that player is being requested already.
pawn Код:
SetPVarInt(targetid, "Duelerid", playerid);
Will probably complicate things when receiving multiple duel requests though, would recommend making an array to accept multiple incoming duel requests or just block all requests to a player if that player is being requested already.