Help Me Please Fast
#1

Help Me Please

Look Only Two msg Lines Showing On My Server

Код:
if(strcmp(cmd, "/usercmds", true) == 0)
	{
        new msg[1970];
    	new message[] = "\t\t\t\t\t\t SampEver Party Server Forum \n\n\n\n\n \n 1**USER-CMDS /Admins /Help /myself /Commands /gangcommands /forums /forum /serverinfo \n 2**OTHER-CMDS /Nametagson /nametagsoff /savepos /r /credits /kill /stuck /me /chute /flowers \n 3**TELEPORTS-CMDS /Teleports /tele \n 4**VIP'S-CMDS /Viphelp /Vips /vipcmds \n 4**PROPERTY-&-HOUSE'S-CMDS /BuyProperty /Buy /propertyhelp /myhouses /buyhouse /propertyinfo \n 5**/tisland /aisland .";
        new message2[] = "\n\n 6**NRG'S-CMDS /nrg /nrg1 /nrg2 /nrg3 /nprkr \n 7**DRAG-DIRT-DERY-DRIFT-CMDS  /drag /drift /driftls /drift1 /drift2 /drift3 /drift4 /basketcar /citydrift /dirt /driftls /derby /karting \n 8**FOR-WEAPONS-&-CARS-&-HEALTH  /weapons /v /buyarmour /buyhealth /anrg \n 9**PARKOUR-CMDS /parkourcity  /parkours /parkoursc \n 10**ANIMS-AFK-BACK-NEON'S-CMDS /afk /back /neon /anims /anims2.";
		new message3[]  = "\n\n\n test This line not showing on server only showing message 1 and 2  ";
		new message4[]   = "\n\n\n its to not showing  .";
		format(msg, sizeof(msg),"%s %s",message,message2,message3,message4);
		ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX,"SAMPEVER PARTY SERVER FOREVER",msg, "Okay","");
		GameTextForAll("~r~www.SampEver.tk", 6000, 0);
		return 1;
	}
Help
Reply
#2

Use strcat.
Example:
pawn Код:
new regras[680];
strcat(regras,"O que й proibнdo no Insanity Palestina;\nFazer \"Drive By\" propositalmente\nMatar repetitivamente em local de Spawn.\nO uso de qualquer software/mod que possa lhe dar vantagens perante os outros players(******,Vogelz,Handling Editor,etc).\nO uso de palavriado de baixo calгo,ofensor,pornogrбfico ou preconceituoso.");
strcat(regras,"\nMatar sendo o piloto de um helicуptero propositalmente.\nFloodar(enviar mensagens iguais consecutivamente).\nUsar defeitos que possam existir no servidor ao seu favor.\n\nVocк estб agora a disposiзгo dos admins presentes com relaзгo a sua puniзгo caso infrinja alguma das regras aqui citadas.\nBom jogo!");
ShowPlayerDialog(playerid,4,0,"Insanity Palestina - Regras do servidor",regras,"Ok","Fechar");
Reply
#3

The hell?
pawn Код:
format(msg, sizeof(msg),"%s %s",message,message2,message3,message4);
It's showing only 2 because you formatted 2 of the message lines.
Add 2 of "%s" more like this.
pawn Код:
format(msg, sizeof(msg),"%s %s %s %s",message,message2,message3,message4);
Reply
#4

ok i will try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)