24.07.2014, 01:33
Hello guys!
I was making a duel script for my server. So I'm making it with dialogs, so when you type /duel (id), it shows the targetid the Accept/Decline Dialog.
But I need help with the response of that dialog. I need the id of the player who typed /duel or who invited him to the duel when he click accepts.
Like when he accepts:
new duelerid; <<smthng like that? Hope u understand me!
How can I use the player id of the one who typed /duel in OnPlayerDialogResponse? Is it even possible?
I was making a duel script for my server. So I'm making it with dialogs, so when you type /duel (id), it shows the targetid the Accept/Decline Dialog.
But I need help with the response of that dialog. I need the id of the player who typed /duel or who invited him to the duel when he click accepts.
Like when he accepts:
new duelerid; <<smthng like that? Hope u understand me!
How can I use the player id of the one who typed /duel in OnPlayerDialogResponse? Is it even possible?