Where does this save/show?
#1

Hello guys.
I was looking around in ravens rp and i saw this
pawn Код:
if(strcmp(cmd, "/bug", true) == 0 || strcmp(cmd, "/suggestion", true) == 0) // Modded By CuervO_NegrO
    {
        if(IsPlayerConnected(playerid))
        {
            new length = strlen(cmdtext);
            while ((idx < length) && (cmdtext[idx] <= ' '))
            {
                idx++;
            }
            new offset = idx;
            new result[128];
            while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
            {
                result[idx - offset] = cmdtext[idx];
                idx++;
            }
            result[idx - offset] = EOS;
            if(!strlen(result))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/bug [bug report]");
                return 1;
            }
            new y,m,d;
            new h,mi,s;
            getdate(y,m,d);
            gettime(h,mi,s);
            format(string, sizeof(string),"(%d/%d/%d)[%d:%d:%d] Bug Report of %s: %s",d,m,y,h,mi,s,sendername, (result));
            BugsLog(string);
        }
        return 1;
    }
Could anyone of you tell me where it saves or is being shown for the scripter? I cant seem to see anything that tells the scripter that someone reported a suggesstion/bug that he can see ingame?
Reply


Messages In This Thread
Where does this save/show? - by Don_Cage - 20.04.2013, 00:42
Re: Where does this save/show? - by jakejohnsonusa - 20.04.2013, 00:43
Re: Where does this save/show? - by Don_Cage - 20.04.2013, 00:44
Re: Where does this save/show? - by jakejohnsonusa - 20.04.2013, 00:46
Re: Where does this save/show? - by Don_Cage - 20.04.2013, 00:59

Forum Jump:


Users browsing this thread: 3 Guest(s)