[HElP]Need Help With /credits and /rules commands
#1

Код HTML:
CMD:rules(playerid,params[]){
    #pragma unused params
   	ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{46BEE6}YS Gaming Server Rules:", "1. No Hacks, Because Hacks Are Not Allowed And Will Get Yourself Banned! \n2. No Deathmatching Outside Of Designated DM Areas \n3. Respect Players And Staff \n4. No Advertising Other Servers Here! \n5. No Flaming,Trolling,Argueing Or Disrespecting Other Players! \n6. Do Whatever You Want, But It Must Be Inside The Court Of These Rules! \n Consider Yourself Warned!\n Dont Attack Adminss", "I Agree", "I Disagree");
	return 1;
}
I need To Make It Bigger If i use more \n \n \n is turn To Line Input Solong :P can Anyone Help my


Код HTML:
CMD:credits(playerid,params[]){
    #pragma unused params
   	ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{46BEE6}YS Server Credits:", "1.Orginal gamemode Was Made By John,Jennifer,Errore \n2.The Commands Of Player And admins Was Made By John,Jennifer  \n3.Some of the Code By The Permission Of SA:MP Community \n4. Was Alowed By Sa:Mp Various Members. \n6.Play Class,Weapons was Choice By John And [YS]Admins  \n7.Vehicle PlaceMent By MoNeYPiMp. \n8.Young Stuner Beta Tester Is: \n John,Jennifer,Aryanoos,Nafiz ", "I Agree", "I Disagree");
	return 1;
}
I want To Do the Same With Rules to Bigger Beter becuz style put in Is Not For big can you help my Guy if Help Thanks So So So Much :P
Reply
#2

i want to make like this but how


Quote:

CMD:credits(playerid,params[]){
#pragma unused params
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{46BEE6}YS Server Credits:", "1.Orginal gamemode Was Made By John,Jennifer,Errore \n2.The Commands Of Player And admins Was Made By John,Jennifer \n3.Some of the Code By The Permission Of SA:MP Community \n4. Was Alowed By Sa:Mp Various Members. \n6.Play Class,Weapons was Choice By John And [YS]Admins \n7.Vehicle PlaceMent By MoNeYPiMp. \n8.Young Stuner Beta Tester Is: \n John,Jennifer,Aryanoos,Nafiz ", "I Agree", "I Disagree");
ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{46BEE6}YS Server Credits:", "1.Orginal gamemode Was Made By John,Jennifer,Errore \n2.The Commands Of Player And admins Was Made By John,Jennifer \n3.Some of the Code By The Permission Of SA:MP Community \n4. Was Alowed By Sa:Mp Various Members. \n6.Play Class,Weapons was Choice By John And [YS]Admins \n7.Vehicle PlaceMent By MoNeYPiMp. \n8.Young Stuner Beta Tester Is: \n John,Jennifer,Aryanoos,Nafiz ", "I Agree", "I Disagree");
return 1;
return 1;
}

i want to Make it Biger Biger biger not in same line
Reply
#3

Take a look at the strcat function.
Reply
#4

Use strcat next time.

pawn Код:
CMD:credits(playerid,params[])
{
    new string[500];
    string = "1.Orginal gamemode Was Made By John,Jennifer,Errore\n";
    strcat(string, "2.The Commands Of Player And admins Was Made By John,Jennifer\n\
    3.Some of the Code By The Permission Of SA:MP Community\n\
    4.Was Alowed By Sa:Mp Various Members.\n\
    6.Play Class,Weapons was Choice By John And [YS]Admins\n\
    7.Vehicle PlaceMent By MoNeYPiMp.\n\
    8.Young Stuner Beta Tester Is: \n John,Jennifer,Aryanoos,Nafiz"
);
    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{46BEE6}YS Server Credits:", string, "I Agree", "I Disagree");
    return 1;
}
Reply
#5

But how i can Add more and more
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)