Dialog Help
#2

In the command you can do something like..

pawn Код:
SetPVarInt(targetid, "Duelerid", playerid);
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.
Reply


Messages In This Thread
Dialog Help - by PMH - 24.07.2014, 01:33
Re: Dialog Help - by coole210 - 24.07.2014, 01:46
Re: Dialog Help - by PMH - 24.07.2014, 01:50

Forum Jump:


Users browsing this thread: 2 Guest(s)