25.08.2014, 22:21
Hello,
The first string (astring[0]) is not showing on the screen http://i.imgur.com/tH6kIUY.jpg
(it is not a null string, (I checked it using printf("%s", astring[0]) )
Also I'm getting this when I compile!
pawn Код:
else if (dialogid == DIALOG_GATEINFOS)
{
if (response)
{
new astring[6][512];
new fobjectid = strval(inputtext);
if (fexist(GateINI(fobjectid)))
{
INI_ParseFile(GateINI(fobjectid), "LoadGateData_%s", .bExtra = true, .extra = fobjectid);
format(astring[0], 512, ""COL_GREEN"||"COL_WHITE"ID: %i "COL_GREEN"||"COL_WHITE" Model: %i "COL_GREEN"||"COL_WHITE" Speed: %f "COL_GREEN"||"COL_WHITE" Range: %f "COL_GREEN"||"COL_WHITE" Owner: %s "COL_GREEN"||"COL_WHITE" Pass: %s "COL_GREEN"||", fgateid[fobjectid], fgmodelid[fobjectid], gspeed[fobjectid], grange[fobjectid], gowner[fobjectid], gpassword[fobjectid]);
format(astring[1], 512, ""COL_GREEN"||"COL_WHITE" PosX: %f "COL_GREEN"|| "COL_WHITE"PosY: %f "COL_GREEN"|| "COL_WHITE"PosZ: %f "COL_GREEN"||", Gpos[fobjectid][0], Gpos[fobjectid][1], Gpos[fobjectid][2]);
format(astring[2], 512, ""COL_GREEN"||"COL_WHITE" RotX: %f "COL_GREEN"|| "COL_WHITE"RotY: %f "COL_GREEN"|| "COL_WHITE"RotZ: %f "COL_GREEN"||", Grot[fobjectid][0], Grot[fobjectid][1], Grot[fobjectid][2]);
format(astring[3], 512, ""COL_GREEN"||"COL_WHITE" PosXm: %f "COL_GREEN"|| "COL_WHITE"PosYm: %f "COL_GREEN"|| "COL_WHITE"PosZm: %f "COL_GREEN"||", Gposm[fobjectid][0], Gposm[fobjectid][1], Gposm[fobjectid][2]);
format(astring[4], 512, ""COL_GREEN"||"COL_WHITE" RotXm: %f "COL_GREEN"|| "COL_WHITE"RotYm: %f "COL_GREEN"|| "COL_WHITE"RotZm: %f "COL_GREEN"||", Grotm[fobjectid][0], Grotm[fobjectid][1], Grotm[fobjectid][2]);
format(astring[5], 512, "------------------------------------------------------------Gate ID: %i Infos------------------------------------------------------------", fobjectid);
SendClientMessage(playerid, 0x9ACD32AA, astring[5]);
SendClientMessage(playerid, -1, astring[0]);
SendClientMessage(playerid, -1, astring[1]);
SendClientMessage(playerid, -1, astring[2]);
SendClientMessage(playerid, -1, astring[3]);
SendClientMessage(playerid, -1, astring[4]);
SendClientMessage(playerid, 0x9ACD32AA, astring[5]);
}
else SendClientMessage(playerid, -1, ""COL_RED"Gate does not exist!");
}
}
(it is not a null string, (I checked it using printf("%s", astring[0]) )
Also I'm getting this when I compile!
Код:
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 6900 bytes Code size: 170692 bytes Data size: 27914036 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements:28108012 bytes