Mind megcsinálom 2 perc
re:
#include <a_samp>
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/valami\", cmdtext, true, 6) == 0)
{
ShowPlayerDialog(playerid, 200, DIALOG_STYLE_MSGBOX, \"Valami\", \"ide a szöveg\\n\",\"\",\"Kilép\");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 200)
{
if(!response)
{
SetPlayerPos(playerid,1419.6729,389.4256,19.3297);
}
}
return 1;
}