Dialog Msbox for /credits -
BanSilog - 08.05.2018
Good day mr/mrs
who can give me /credits dialog msbox
For Trucking server Thank you For feed back :">
Re: Dialog Msbox for /credits -
BanSilog - 08.05.2018
ANYONE HELP ME PLEASE?
Re: Dialog Msbox for /credits -
CodeStyle175 - 08.05.2018
Some english letter tutorial here?
ShowPlayerDialog(playerid,0,"Credits","Main scripter: Jason\nMain admin: Jason","okay","");
Re: Dialog Msbox for /credits -
TadePoleMG - 08.05.2018
Hi
Here you go
PHP Code:
#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;
}
Thank You.
rep++, If i helped you.
Re: Dialog Msbox for /credits -
BanSilog - 08.05.2018
Quote:
Originally Posted by TadePoleMG
Hi
Here you go
PHP Code:
#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");
strcat(string,""COL_RED"2: "COL_BLUE" Second Text here");
strcat(string,""COL_RED"3: "COL_BLUE" Third Text here");
strcat(string,""COL_RED"4: "COL_BLUE" Fourth Text here");
strcat(string,""COL_RED"5: "COL_BLUE" Fifth Text here");
ShowPlayerDialog(playerid,DIALOG_CREDITS,DIALOG_STYLE_MSGBOX,""COL_GREEN"Server Credits Dialog:",string,"Close","");
return 1;
}
Thank You.
rep++, If i helped you.
|
D:\ROOT FOLDER WAG DELETE\gamemodes\PPC_Trucking.pwn(1475) : error 029: invalid expression, assumed zero
D:\ROOT FOLDER WAG DELETE\gamemodes\PPC_Trucking.pwn(1475) : error 017: undefined symbol "cmd_credits"
D:\ROOT FOLDER WAG DELETE\gamemodes\PPC_Trucking.pwn(1475) : error 029: invalid expression, assumed zero
D:\ROOT FOLDER WAG DELETE\gamemodes\PPC_Trucking.pwn(1475) : fatal error 107: too many error messages on one line
I got that error but
+rep for help but i have error
Re: Dialog Msbox for /credits -
TadePoleMG - 08.05.2018
Hi
Sorry
Use this-
PHP Code:
#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;
}
Re: Dialog Msbox for /credits -
BanSilog - 08.05.2018
+Rep Thank you for help
Re: Dialog Msbox for /credits -
GTLS - 18.05.2018
This is Clearly in the wrong section and to get rep+, no one even cared to correct him and to telling him this is a wrong section..
This section is to release a Tutorial. Not to ask for tutorial. If you want someone to teach you something, you ask in Scripting Help.
Re: Dialog Msbox for /credits -
TadePoleMG - 18.05.2018
Yes you are right GTLS from now i also advice others not to post things like that