[FilterScript] SimpleDialog - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SimpleDialog (
/showthread.php?tid=444765)
SimpleDialog -
ProjectRP - 18.06.2013
Hello, thanks for having a look at my first Filterscript, this can also be a script, I just made it a filterscript, since there's alot of noobs who don't know how to put it in their script, please don't hate & no I did not steal this I made it, be sure to have the right includes, its just a simple filterscript/script enjoy.
Picture:
Download
Re: SimpleDialog -
RedFusion - 19.06.2013
This is more of a snippet than filterscript
Re: SimpleDialog -
TraniLurese - 20.06.2013
Ahaha, this is FS? No, no FS - this is simple command with unneeded includes.
On script use
PHP код:
#include <a_samp>
#include <ZCMD>
CMD:dialog(playerid, params[])
{
#pragma unused params
return ShowPlayerDialog(playerid, dialogid, response, "Name", "Text", "B1", "B2");
}
or
PHP код:
#include <a_samp>
#include <ZCMD>
CMD:dialog(playerid, params[]) return ShowPlayerDialog(playerid, dialogid, response, "Name", params, "B1", "B2");
or
PHP код:
#include a_samp
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/cmdname", true) != 1) return ShowPlayerDialog(playerid, dialogid, response, "Name", "Text", "B1", "B2");
}
That's not script, this simple code (2).
Re: SimpleDialog -
(SC)=Sky= - 20.06.2013
It's a very easy script should not even post it .. but anyway you are a beginner ..
Re: SimpleDialog -
ProjectRP - 20.06.2013
Thank, you sky, you seem to be the only one who's being nice and yes, I am a beginner

! So ofc, I would not know all that, lol why -REP