09.07.2018, 16:10
then use DIALOG_STYLE_INPUT
Have a look on: https://sampwiki.blast.hk/wiki/ShowPlayerDialog
to read about syntax
Then go ahead and follow the tutorial.
When you reach OnDialogResponse blabla check for dialogid, then response and then inputtext.
Treat inputtext just like params[] when you create a cmd using zcmd ( Command parameter ).
So you kinda need sscanf the input and then add your kick stuff..
Have a look on: https://sampwiki.blast.hk/wiki/ShowPlayerDialog
to read about syntax
Then go ahead and follow the tutorial.
When you reach OnDialogResponse blabla check for dialogid, then response and then inputtext.
Treat inputtext just like params[] when you create a cmd using zcmd ( Command parameter ).
So you kinda need sscanf the input and then add your kick stuff..