[Ajuda] error 030: compound statement not closed at the end of file (started at line
#7

pawn Код:
jsonGet(json[], jsonid[])
{
    //////////////////////////////

    new json_info[72];
    new json_value[72];

    format(json_info, 72, "\"%s\":\"", jsonid);

    new i = strfind(json, json_info);

    if(i != -1)
    {
        format(json_value, 56, "%s", json[i+ strlen(json_info)]);

        i = strfind(json_value, "\"");

        if(i != -1) {
            json_value[i] = EOS;
        }
    }

    return json_value;

    //////////////////////////////
veja
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)