SA-MP Forums Archive
Dialog for /licenses command - 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: Dialog for /licenses command (/showthread.php?tid=608363)



Dialog for /licenses command - rishabh - 31.05.2016

I want to make a dialog appear on /licenses, in which it shows "Type of license" and "Hours remained in expiry", row wise. Only Ok button is required. I had tried it with DIALOG_STYLE_MSGBOX but don't know how to add current hours remaining in that. Please help


Re: Dialog for /licenses command - Amunra - 31.05.2016

Using gettickcount !!
Create Variable for Store the time ..
And if the player used command before the time over .. using gettickcount - varible .. for get a reamining time to use again


Re: Dialog for /licenses command - rishabh - 31.05.2016

Thanks for reply but i had already done this all, i just wanna know how to implement it in "ShowPlayerDialog".


Re: Dialog for /licenses command - rishabh - 01.06.2016

Anyone, Please help.