Dialog Help
#3

Quote:
Originally Posted by coole210
Посмотреть сообщение
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.
ok thnx a lot for replying, +rep'ed.
since only one duel request can be sent, it won't become complicated.
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: 1 Guest(s)