[Tutorial] Dialog Msbox for /credits
#5

Quote:
Originally Posted by TadePoleMG
View Post
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
Reply


Messages In This Thread
Dialog Msbox for /credits - by BanSilog - 08.05.2018, 04:45
Re: Dialog Msbox for /credits - by BanSilog - 08.05.2018, 08:41
Re: Dialog Msbox for /credits - by CodeStyle175 - 08.05.2018, 08:50
Re: Dialog Msbox for /credits - by TadePoleMG - 08.05.2018, 08:55
Re: Dialog Msbox for /credits - by BanSilog - 08.05.2018, 11:38
Re: Dialog Msbox for /credits - by TadePoleMG - 08.05.2018, 13:29
Re: Dialog Msbox for /credits - by BanSilog - 08.05.2018, 17:03
Re: Dialog Msbox for /credits - by GTLS - 18.05.2018, 05:57
Re: Dialog Msbox for /credits - by TadePoleMG - 18.05.2018, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)