08.03.2011, 16:38
Hello all i have problem when i creating inventory system and GUI menu its working fine but when i adding 0.3c colors in GUI meniu me pawno crashing.
Me code:
Me code:
pawn Код:
COMMAND:inventor( playerid, params[ ] )
{
#pragma unused params
new
String[ 700 ];
format( String, 700 , ""#BLUE"Jыs turite"#RED" %d "#BLUE"pyragлliu su рokoladu.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"marinuotш viљtш kulљeliш.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"indeliш рaрlyku\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"litrш aliejaus.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"pomidorш.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"marinuotш agurkш.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"indelш keиiupo.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"buteliш Coca-Colos.\n\
"#BLUE"Jыs turite:"#RED" %d "#BLUE"buteliш limonado.",
playerDB[ playerid ][ Pyrageliai ],
playerDB[ playerid ][ Kulseles ],
playerDB[ playerid ][ Saslikai ],
playerDB[ playerid ][ Pyrageliai ],
playerDB[ playerid ][ Kulseles ],
playerDB[ playerid ][ Saslikai ],
playerDB[ playerid ][ Aliejus ],
playerDB[ playerid ][ Pomidorai ],
playerDB[ playerid ][ Agurkai ],
playerDB[ playerid ][ Keciupas ],
playerDB[ playerid ][ Cola ],
playerDB[ playerid ][ Limonadas ] );
ShowPlayerDialog( playerid, 147, DIALOG_STYLE_LIST,"Inventor", String ,"Use","Close" );
return true;
}