How To Script..
#4

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..
Reply


Messages In This Thread
How To Script.. - by Vizi10 - 09.07.2018, 15:34
Re: How To Script.. - by spinu - 09.07.2018, 15:54
Re: How To Script.. - by Vizi10 - 09.07.2018, 16:01
Re: How To Script.. - by spinu - 09.07.2018, 16:10

Forum Jump:


Users browsing this thread: 4 Guest(s)