Dialog for /licenses command

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

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

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

Anyone, Please help.

Forum Jump:

Users browsing this thread: 1 Guest(s)