Jump to content

Question

Posted

Am incercat sa fac 2 dialoguri si nici unul dintre ele nu merge si nu stiu de ce imi da o eroare care nu pot copila nici GM ;)

	if(strcmp(cmd, "/Stunt",true) == 0)
	{
	new Box[ 9024 ];
	format( Box, sizeof Box, "{FFFFFF}Teles/Stunt "COL_Albastru"Stunt {F81414}-->{FFFFFF}/chilliad /StuntC /o.o /farm /LsTower /mstunt /nrgball(1-2)\n\
                             "COL_Albastru"Stunt {F81414}-->{FFFFFF}/sfair /aa /lvair /lsair /Parkm /sc /skroad /ball /BmX(1-3)\n\
                             "COL_Albastru"Stunt {F81414}-->{FFFFFF}/stunt(1-112) /jizzy /bs /ws /sg /mhp /hp /Bowl /kstunt /sz\n\
                             "COL_Albastru"Stunt {F81414}-->{FFFFFF}/tube /halfpipe /StuntZ /country /stuntcity /uws /ss /aa2\n\
                             "COL_Albastru"Stunt {F81414}-->{FFFFFF}/StuntJ /VBS /Crazy /rc(1-4) /constunt /2C /WStunt /QStunt\n\
                             "COL_Albastru"Stunt {F81414}-->{FFFFFF}/LVStunt /ds /fs /ms /Lstunt\n\",
	                            

	ShowPlayerDialog( playerid, STunt, DIALOG_STYLE_MSGBOX, "{FFFFFF}Stunt!", Box, "Ok", "");
	return 1;
}
	if(strcmp(cmd, "/Stunt",true) == 0)
	{
	ShowPlayerDialog( playerid, STunt, DIALOG_STYLE_MSGBOX, "{FFFFFF}Teles/Stunt", 	"{FFFFFF}Stunt.\n\n\n\
                                                                                     {0D00FF}Stunt {F81414}-->{FFFFFF}/chilliad /StuntC /o.o /farm /LsTower /mstunt /nrgball(1-2)\n\
										     {0D00FF}Stunt {F81414}-->{FFFFFF}/sfair /aa /lvair /lsair /Parkm /sc /skroad /ball /BmX(1-3)\n\
                                                                                     {0D00FF}Stunt {F81414}-->{FFFFFF}/stunt(1-112) /jizzy /bs /ws /sg /mhp /hp /Bowl /kstunt /sz\n\
										     {0D00FF}Stunt {F81414}-->{FFFFFF}/tube /halfpipe /StuntZ /country /stuntcity /uws /ss /Lstunt\n\
                                                                                     {0D00FF}Stunt {F81414}-->{FFFFFF}/StuntJ /VBS /Crazy /rc(1-4) /constunt /2C /WStunt /QStunt\n\
                                                                                     {0D00FF}Stunt {F81414}-->{FFFFFF}/LVStunt /ds /fs /ms /Lstunt\n\n\n", "Oke", "");
	return 1;
}

  • www.LcsNet.org
  • 91.233.106.13:7777
  • www.Joc-Miniclip.info

4 answers to this question

Recommended Posts

Guest farse
Posted

							strcat(Box,""{FFFFFF}Teles/Stunt "COL_Albastru"Stunt {F81414}-->{FFFFFF}/chilliad /StuntC /o.o /farm /LsTower /mstunt /nrgball(1-2)\n");
							strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/sfair /aa /lvair /lsair /Parkm /sc /skroad /ball /BmX(1-3)\n");
							strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/stunt(1-112) /jizzy /bs /ws /sg /mhp /hp /Bowl /kstunt /sz\n");
							strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/tube /halfpipe /StuntZ /country /stuntcity /uws /ss /aa2\n");
							strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/StuntJ /VBS /Crazy /rc(1-4) /constunt /2C /WStunt /QStunt\n");
							strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/LVStunt /ds /fs /ms /Lstunt\n");
	                            

Asa fa si la celaltu:p

Posted

nu merge iam puss asa

    if(strcmp(cmdtext, "/Stunt", true) == 0)
    {
    ShowPlayerDialog( playerid, STunt, DIALOG_STYLE_MSGBOX,"Box", CommandDialog( ), "Ok", "Close" );
    return 1;
    }
CommandDialog() // 
{
    Box[0]='\0';
    strcat(Box,"{FFFFFF}Teles/Stunt "COL_Albastru"Stunt {F81414}-->{FFFFFF}/chilliad /StuntC /o.o /farm /LsTower /mstunt /nrgball(1-2)\n", 9024 );
    strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/sfair /aa /lvair /lsair /Parkm /sc /skroad /ball /BmX(1-3)\n", 9024 );
    strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/stunt(1-112) /jizzy /bs /ws /sg /mhp /hp /Bowl /kstunt /sz\n", 9024 );
    strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/tube /halfpipe /StuntZ /country /stuntcity /uws /ss /aa2\n", 9024 );
    strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/StuntJ /VBS /Crazy /rc(1-4) /constunt /2C /WStunt /QStunt\n", 9024 );
    strcat(Box,""COL_Albastru"Stunt {F81414}-->{FFFFFF}/LVStunt /ds /fs /ms /Lstunt\n", 9024 );
    return Box;
}

imi da UnknownCommand cand scriu /stunt

  • www.LcsNet.org
  • 91.233.106.13:7777
  • www.Joc-Miniclip.info

Guest PlayON
Posted

Marimea stringului Box[]; este PREA MARE! Maximu este 1024 tu ai pus 9024.

CommandDialog() //

{

    new bString[ 1024 ];

    strcat( bString, "{FFFFFF}Teles/Stunt "COL_Albastru"Stunt {F81414}-->{FFFFFF}/chilliad /StuntC /o.o /farm /LsTower /mstunt /nrgball(1-2)\n", 1024 );

    strcat( bString, ""COL_Albastru"Stunt {F81414}-->{FFFFFF}/sfair /aa /lvair /lsair /Parkm /sc /skroad /ball /BmX(1-3)\n", 1024 );

    strcat( bString, ""COL_Albastru"Stunt {F81414}-->{FFFFFF}/stunt(1-112) /jizzy /bs /ws /sg /mhp /hp /Bowl /kstunt /sz\n", 1024 );

    strcat( bString, ""COL_Albastru"Stunt {F81414}-->{FFFFFF}/tube /halfpipe /StuntZ /country /stuntcity /uws /ss /aa2\n", 1024 );

    strcat( bString, ""COL_Albastru"Stunt {F81414}-->{FFFFFF}/StuntJ /VBS /Crazy /rc(1-4) /constunt /2C /WStunt /QStunt\n", 1024 );

    strcat( bString, ""COL_Albastru"Stunt {F81414}-->{FFFFFF}/LVStunt /ds /fs /ms /Lstunt\n", 1024 );

    return  bString;

}

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.