SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Romānă/Romanian

Reply
 
Thread Tools Display Modes
Old 25/03/2018, 01:50 PM   #1
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default problema /cheaters

Am o problema cu GM-ul WSTER RPG

Pur si simplu, un player da /cheats pe altul. Cand vreau sa verific, dau /cheats si dau /spec pe acel player.. in acel moment mi se pune punct la raport admin.. dar nu dispare din /cheaters.. si nici comanda /cr sau /dr nu functioneaza, zice ca nu are report

Sa imi ziceti ce comenzi trebuie sa va arat ca sa ma ajutati.



EDIT : AM OBSERVAT CA DACA APARE /CHEATS DE LA ADMBOT ADICA WARNING SI DAU /SPEC DISPARE DIN /CHEATERS, DAR DACA DA UN PLAYER /CHEATS, DUPA CE DAU /SPEC NU MAI APARE IN /CHEATERS MOTIV : AIMBOT CI APARE - NULL .. TREBUIA SA DISPARA TOT
dinandrei01 is offline   Reply With Quote
Old 25/03/2018, 02:20 PM   #2
ForCop
Banned
 
Join Date: Mar 2018
Location: Moldova of Republic
Posts: 122
Reputation: 5
Default Re: problema /cheaters

nu am inteles nimic
ForCop is offline   Reply With Quote
Old 25/03/2018, 02:25 PM   #3
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default Re: problema /cheaters

Deci, de exeplu tu dai /cheats pe mine cu motivul aimbot.. dai /cheats 1 aimbot ( 1 fiind id meu )
Adminului ii apare /cheaters - X ( id x, level x ) cheats - aimbot ( x sunt eu, level-ul meu si id meu )
adminul da /spec pe tine..
in loc sa dispara din /cheats X ( id x, level x ) cheats - aimbot , apare la fel doar ca in loc de aimbot scrie null
adica X ( id x, level x ) cheats - NULL
dinandrei01 is offline   Reply With Quote
Old 25/03/2018, 02:34 PM   #4
ForCop
Banned
 
Join Date: Mar 2018
Location: Moldova of Republic
Posts: 122
Reputation: 5
Default Re: problema /cheaters

pai in asa fel puneti aceste comenzi ca sa le vad.... ma gindesc ca e problema in variabila la comanda /cheats
params[2]
ForCop is offline   Reply With Quote
Old 25/03/2018, 02:38 PM   #5
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default Re: problema /cheaters

Ce comanda vrei sa iti pun?
dinandrei01 is offline   Reply With Quote
Old 25/03/2018, 02:39 PM   #6
ForCop
Banned
 
Join Date: Mar 2018
Location: Moldova of Republic
Posts: 122
Reputation: 5
Default Re: problema /cheaters

/cheats si /spec
ForCop is offline   Reply With Quote
Old 25/03/2018, 02:42 PM   #7
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default Re: problema /cheaters

/spec - https://pastebin.com/YNmrMGh0
/cheats - https://pastebin.com/uT0A5Drn
dinandrei01 is offline   Reply With Quote
Old 25/03/2018, 02:47 PM   #8
ForCop
Banned
 
Join Date: Mar 2018
Location: Moldova of Republic
Posts: 122
Reputation: 5
Default Re: problema /cheaters

Code:

CMD:cheats(playerid, params[])
{
    new string1[128],id,reason[128],sendername[30],giveplayer[30],string[256];
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(ReportTime[playerid] == 2) return SCM(playerid, COLOR_WHITE,"{f03337}Dupa 3 minute poti folosi aceasta actiune.");
    if(IsPlayerConnected(playerid))
    {
        if(sscanf(params, "us[300]", id, reason)) return SendClientMessage(playerid, COLOR_WHITE, "{FF9900}Scrie: {33CCFF}/cheats <id cheater> <reason>");
        if(IsPlayerConnected(id))
        {
            GetPlayerName(playerid, sendername, sizeof(sendername));
            GetPlayerName(id, giveplayer, sizeof(giveplayer));
            SendClientMessage(playerid, COLOR_GREY, "Report submitted.");
            format(string, sizeof(string), "%s [%d] was reported for cheating by %s[%d]: %s.",giveplayer,id,sendername,playerid,reason);
            format(cheattext[playerid], sizeof(string1), string1);
            reportcheater[playerid] = id;
            ABroadCast(COLOR_REPORT,string,1);
            reportreason[id] = 3;
            ReportTime[playerid] = 3;
            AreCits[id] = 1;
            Citsreas[id] = reason;
            timerreport[playerid] = SetTimerEx("Reportul", 180000, 0, "%d", playerid);
        }
        else return SendClientMessage(playerid, COLOR_GREY, "The specified player ID is either not connected or has not authenticated.");
    }
    return 1;
}

CMD:spec(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 2)
        {
            new id,giveplayer[25],string[256],sendername[25];
            if(sscanf(params, "u", id)) return SCM(playerid,COLOR_WHITE,"{FF9900}Scrie: {33CCFF}/spec <Name/Playerid>");
            {
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        if(id == playerid) return SendClientMessage(playerid, 0xFFFFFFFF, "Nu poti folosi /spec pe tine.");
                        if(PlayerInfo[id][pAdmin] >= 6 && PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, 0xFFFFFFFF, "Nu poti folosi /spec pe admini de level 6+");
                        if(Spectate[playerid] == -1)
                        {
                            BeforeSpectate[playerid][pState] = GetPlayerState(playerid);
                            BeforeSpectate[playerid][pWorld] = GetPlayerVirtualWorld(playerid);
                            BeforeSpectate[playerid][pInt] = GetPlayerInterior(playerid);
                            BeforeSpectate[playerid][pSpectating] = true;
                            new Float: x, Float: y, Float: z;
                            GetPlayerPos(playerid, x, y, z);
 
                            if(!IsPlayerInAnyVehicle(playerid))
                            {
                                BeforeSpectate[playerid][pOldPos][0] = x;
                                BeforeSpectate[playerid][pOldPos][1] = y;
                                BeforeSpectate[playerid][pOldPos][2] = z;
                            }
                            else
                                BeforeSpectate[playerid][pInVehicle] = GetPlayerVehicleID(playerid);
                        }
                        Spectate[playerid] = id;
                        new Float:health;
                        GetPlayerHealthEx(Spectate[playerid], health);
                        GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        if(reportreason[id] == 0 && HaveCheats[id] == 0)
                        {
                            format(string, sizeof(string), "Admin/Helper %s is now spectating %s.",sendername,giveplayer);
                        }
                        else if(reportreason[id] == 1 && PlayerInfo[playerid][pAdmin] >= 1)
                        {
                            format(string, sizeof(string), "Admin %s is now spectating %s (reported for being stuck).",sendername,giveplayer);
                            ReportTime[id] = 0;
                            format(reporttext[id], 30, "NULL");
                            format(cheattext[id], 30, "NULL");
                            reportcheater[id] = -1;
                            reportreason[id] = 0;
                            PlayerInfo[playerid][pCrPlayers]++;
                            Update(playerid, pCrPlayersx);
                            if(playerreported[id] != -1)
                            {
                                reportreason[playerreported[id]] = 0;
                            }
                            playerreported[id] = -1;
                        }
                        else if(reportreason[id] == 2 && PlayerInfo[playerid][pAdmin] >= 1)
                        {
                            format(string, sizeof(string), "Admin %s is now spectating %s (reported for DM).",sendername,giveplayer);
                            ReportTime[id] = 0;
                            format(reporttext[id], 30, "NULL");
                            format(cheattext[id], 30, "NULL");
                            reportcheater[id] = -1;
                            reportreason[id] = 0;
                            PlayerInfo[playerid][pCrPlayers]++;
                            Update(playerid, pCrPlayersx);
                            if(playerreported[id] != -1)
                            {
                                reportreason[playerreported[id]] = 0;
                            }
                            playerreported[id] = -1;
                        }
                        else if(reportreason[id] == 3 && PlayerInfo[playerid][pAdmin] >= 1 || HaveCheats[id] == 1 && PlayerInfo[playerid][pAdmin] >= 1)
                        {
                            format(string, sizeof(string), "Admin %s is now spectating %s (reported for cheats).",sendername,giveplayer);
                            ReportTime[id] = 0;
                            format(reporttext[id], 30, "NULL");
                            format(cheattext[id], 30, "NULL");
                            reportcheater[id] = -1;
                            reportreason[id] = 0;
                            HaveCheats[id] = 0;
                            CheatsReason[id] = "NULL";
                            Citsreas[id] = "NULL";
                            PlayerInfo[playerid][pCrPlayers]++;
                            Update(playerid, pCrPlayersx);
                            if(playerreported[id] != -1)
                            {
                                reportreason[playerreported[id]] = 0;
                            }
                            playerreported[id] = -1;
                        }
                        KillTimer(timerreport[id]);
                        ABroadCast(COLOR_YELLOW,string,1);
                        format(string, sizeof(string), "(%d) %s | Level: %d | Health: %.0f | AFK: %d | Duty: %d | Ping: %d",Spectate[playerid],giveplayer,PlayerInfo[Spectate[playerid]][pLevel],health,IsPlayerAFK[Spectate[playerid]],OnDuty[Spectate[playerid]],GetPlayerPing(Spectate[playerid]));
                        SendClientMessage(playerid, COLOR_DARKPINK, string);
                        TogglePlayerSpectating(playerid, 1);
                        if(IsPlayerInAnyVehicle(Spectate[playerid]))
                        {
                            new carid = GetPlayerVehicleID(Spectate[playerid]);
                            PlayerSpectateVehicle(playerid, carid);
                            SpectateState[id] = 2;
                        }
                        else
                        {
                            PlayerSpectatePlayer(playerid, Spectate[playerid]);
                            SpectateState[id] = 1;
                        }
                        PlayerTextDrawSetString(playerid, TextDrawSpec[playerid][1], "LOADING...");
                        PlayerTextDrawShow(playerid, TextDrawSpec[playerid][1]);
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected.");
                }
            }
        }
        else
        {
            SendClientMessage(playerid, COLOR_DARKNICERED, AdminOnly);
            return 1;
        }
    }
    return 1;
}



uite, e scris cu rosu
ForCop is offline   Reply With Quote
Old 25/03/2018, 02:55 PM   #9
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default Re: problema /cheaters

Tot nu inteleg mane, ce trebuie sa fac sa rezolv?
dinandrei01 is offline   Reply With Quote
Old 25/03/2018, 03:08 PM   #10
dinandrei01
Little Clucker
 
Join Date: Oct 2017
Posts: 7
Reputation: 3
Default Re: problema /cheaters

zi mane..
dinandrei01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cheaters CeeLeeOne Screenshots and Videos 0 19/12/2015 08:04 PM
About cheaters. audriuxxx Scripting Help 2 03/11/2013 06:32 PM
I'm just about done with cheaters! hipy General 36 28/07/2012 02:50 AM
[Cheaters] 0.3c cheaters. Ish Client Support 5 08/01/2011 02:06 AM


All times are GMT. The time now is 08:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.