Transfering a players ID to OnDialogResponse - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Transfering a players ID to OnDialogResponse (
/showthread.php?tid=497887)
Transfering a players ID to OnDialogResponse -
Baines - 01.03.2014
Hello,
I have had an issue for quite some time now and I couldn't fix it. I don't know how to "transfer" a players ID to OnDialogResponse. For example: OnPlayerClickPlayer, I want it to show a dialog for the person who clicked the player with the options like "Kick", "Ban", "Call", "PM" and something like that, but I don't know how I can put the player ID who was clicked in the section OnDialogResponse. I know it is possible but I just didn't figure it out.
Thanks in advance! For any good answers there will be +REP!
Cheers!
Re: Transfering a players ID to OnDialogResponse -
MP2 - 01.03.2014
Variables. PVars would be a wise option, as the memory doesn't need to be allocated all the time.
Re: Transfering a players ID to OnDialogResponse -
Baines - 01.03.2014
Ok I will try that. Thank you!