08.05.2018, 04:45
Good day mr/mrs
who can give me /credits dialog msbox
For Trucking server Thank you For feed back :">
who can give me /credits dialog msbox
For Trucking server Thank you For feed back :">
#include <a_samp>
#include <zcmd>
#define DIALOG_CREDITS 1223
#define COL_GREEN "{6EF83C}"
#define COL_RED "{F81414}"
#define COL_BLUE "{0049FF}"
CMD:credits(playerid,params[])
{
new string[128];
strcat(string,""COL_RED"1: "COL_BLUE" First Text here\n");
strcat(string,""COL_RED"2: "COL_BLUE" Second Text here\n");
strcat(string,""COL_RED"3: "COL_BLUE" Third Text here\n");
strcat(string,""COL_RED"4: "COL_BLUE" Fourth Text here\n");
strcat(string,""COL_RED"5: "COL_BLUE" Fifth Text here\n");
ShowPlayerDialog(playerid,DIALOG_CREDITS,DIALOG_STYLE_MSGBOX,""COL_GREEN"Server Credits Dialog:",string,"Close","");
return 1;
}
Hi
Here you go PHP Code:
rep++, If i helped you. |
#include <a_samp>
#define DIALOG_CREDITS 1223
#define COL_GREEN "{6EF83C}"
#define COL_RED "{F81414}"
#define COL_BLUE "{0049FF}"
// OnPlayerCommandText
if (strcmp("/credits", cmdtext, true, 10) == 0)
{
new string[128];
strcat(string,""COL_RED"1: "COL_BLUE" First Text here\n");
strcat(string,""COL_RED"2: "COL_BLUE" Second Text here\n");
strcat(string,""COL_RED"3: "COL_BLUE" Third Text here\n");
strcat(string,""COL_RED"4: "COL_BLUE" Fourth Text here\n");
strcat(string,""COL_RED"5: "COL_BLUE" Fifth Text here\n");
ShowPlayerDialog(playerid,DIALOG_CREDITS,DIALOG_STYLE_MSGBOX,""COL_GREEN"Server Credits Dialog:",string,"Close","");
return 1;
}