SA-MP Forums Archive
Need Help In CMD Credits - 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: Need Help In CMD Credits (/showthread.php?tid=578666)



Need Help In CMD Credits - kyriakos587 - 21.06.2015

Hello,

i need help in the command of credits i want to make it in a dialog box so can anyone tell me how to do it i did like this

Код:
CMD:credits(playerid,params[]){
	ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_MSGBOX, "Server Credits:", "Server Scripter:ReD_DeViL\nServer Mapper:None\nServer Hoster:ReD_DeViL\nServer Beta Testers:SilentSoul", "Close", "");
	return 1;
}
I want like another type


Re: Need Help In CMD Credits - M0HAMMAD - 21.06.2015

it's Ok
there is no problem.
\n = Next line


Re: Need Help In CMD Credits - ItzRbj - 21.06.2015

i dont really get u , can u explain more ?


Re: Need Help In CMD Credits - kyriakos587 - 21.06.2015

My Problem is solved now thank you


Re: Need Help In CMD Credits - VenomMancer - 21.06.2015

Just Copy then paste.
This example:

pawn Код:
CMD:credits(playerid,params[])
{
    new wlcm[556];
    strcat(wlcm, "{FFFF00}YOUR_SERVER_NAME™ Credits!\n\n");
    strcat(wlcm, "{00FF00}Server Founder:{FFFFFF}\n");
    strcat(wlcm, "- YOUR_NAME_HERE \n\n");
    strcat(wlcm, "{00FF00}Server Co-Owner:{FFFFFF}\n");
    strcat(wlcm, "- .\n\n");
    strcat(wlcm, "{00FF00}Beta Tester:\n{FFFFFF}");
    strcat(wlcm, "- .\n\n");
    strcat(wlcm, "{00FF00}Others:\n{FFFFFF}");
    strcat(wlcm, "- a_samp : SA-MP Team\n");
    strcat(wlcm, "- MySQL : BlueG\n");
    strcat(wlcm, "- YSI : ****** \n");
    strcat(wlcm, "- Streamer : Icnogto\n");
    strcat(wlcm, "- Zcmd : Zeex\n");
    strcat(wlcm, "- Business/House System : PowerPC\n");
    strcat(wlcm, "- Group/Minigames/Job system and others.. : VenomMancer\n\n\n");
    strcat(wlcm, "- We are suported by : Metro World !\n");
    ShowPlayerDialog(playerid, 9100, DIALOG_STYLE_MSGBOX,"Server Credits", wlcm, "Ok", "");
    return 1;
}
I hope you like this!


Re: Need Help In CMD Credits - kyriakos587 - 21.06.2015

Thanks for this