26.02.2016, 18:16
Can you see whats wrong here?
Код:
../gamemodes/OnCommand.pwn(23562) : error 017: undefined symbol "string" ../gamemodes/OnCommand.pwn(23562) : warning 215: expression has no effect ../gamemodes/OnCommand.pwn(23562) : error 001: expected token: ";", but found "]" ../gamemodes/OnCommand.pwn(23562) : error 029: invalid expression, assumed zero ../gamemodes/OnCommand.pwn(23562) : fatal error 107: too many error messages on one line
PHP код:
}
COMMAND:radiospawn2(playerid, params[])
{
string[1000];
for(new x;x<sizeof(RadioObjects);x++)
{
format(string, sizeof(string), "%s%s\n", string, RadioObjects[x][radioname]);
}
DestroyFurnitureSelectionMenu(playerid);
SetPVarInt(playerid, "furnc_active", 1);
CreateFurnitureSelectionMenu(playerid);
SelectTextDraw(playerid, 0xACCBF1FF);
return 1;
}