SA-MP Forums Archive
How to make ЧЧЧ - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to make ЧЧЧ (/showthread.php?tid=604775)



How to make ЧЧЧ - RedRex - 09.04.2016

Hello all how are u miss u OK this not us chat


How to I can make When Player Joined Show Him Updates of Server?


Re: How to make ЧЧЧ - HuntingMan - 09.04.2016

on the defines of the dialogs add
#define DIALOG_UPDATES no

and no means the last number of the dialog
ex:
i have the last dialog for vips

#define DIALOG_VIPS 93
#define DIALOG_UPDATES 94
So it's just adding another one

then in
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,DIALOG_UPDATES,DIALOG_ST YLE_MSGBOX,"{00FF00}Latest Updates","{FF0000}[•]Added no1\n no2\n etc..","Ok","");
return 1;
}