Jump to content
  • 1

Ajutor script


faze amuzante

Question

9 answers to this question

Recommended Posts

  • 1

Problema este in 'task SetPlayerUnjail[ 1000 ]( ) {'

Acolo trebuie inlocuit script-ul acesta:
 

        if( GetPlayerCameraMode ( x ) == 53 )
        {
            new Float: cam_pos ;
            GetPlayerCameraPos ( x, cam_pos, cam_pos, cam_pos ) ;
            if ( floatabs ( cam_pos ) > 50000 ) return va_SendClientMessageToAll(COLOR_LIGHTRED, "AdmBot: %s has been kicked by AdmBot, reason: Weapon Crasher #2.", GetName(x));
            Kick(x);
            return 0;
        }

cu acesta:
 

        if( GetPlayerCameraMode ( x ) == 53 )
        {
            new Float: cam_pos ;
            GetPlayerCameraPos ( x, cam_pos, cam_pos, cam_pos ) ;
            if ( floatabs ( cam_pos ) > 50000 )
            {
                va_SendClientMessageToAll(COLOR_LIGHTRED, "AdmBot: %s has been kicked by AdmBot, reason: Weapon Crasher #2.", GetName(x));
                Kick(x);
                return 0;
            }
        }

Return-ul este pus gresit doar pe trimiterea mesajului.
Adica daca ai hack, trimite acel mesaj dar nu iei kick.
Iar daca nu ai hack, nu trimite mesajul dar iei kick.

Edited by Akan

Discord:
! Akan !#6675

Link to comment
Share on other sites

  • 0
2 hours ago, IrinelBro57 said:

Probabil gamemode-ul tau are un sistem de anti-cheat pentru arme, incearca sa dai armele cu GivePlayerWeaponEx.

Aprob, aici poate fi.Verifica cand cumpara arma din gun shop(poti sa te uiti si la dialogul cu comanda Buy Weapon, sa vezi daca ii da  GivePlayerWeaponEx sau cum ai tu definit in gamemode.Daca o ai doar giveplayerweapon, modifca cum ai tu functia in gamemode!

Link to comment
Share on other sites

  • 0
40 minutes ago, Akan said:

Problema este in 'task SetPlayerUnjail[ 1000 ]( ) {'

Acolo trebuie inlocuit script-ul acesta:
 

        if( GetPlayerCameraMode ( x ) == 53 )
        {
            new Float: cam_pos ;
            GetPlayerCameraPos ( x, cam_pos, cam_pos, cam_pos ) ;
            if ( floatabs ( cam_pos ) > 50000 ) return va_SendClientMessageToAll(COLOR_LIGHTRED, "AdmBot: %s has been kicked by AdmBot, reason: Weapon Crasher #2.", GetName(x));
            Kick(x);
            return 0;
        }

cu acesta:
 

        if( GetPlayerCameraMode ( x ) == 53 )
        {
            new Float: cam_pos ;
            GetPlayerCameraPos ( x, cam_pos, cam_pos, cam_pos ) ;
            if ( floatabs ( cam_pos ) > 50000 )
            {
                va_SendClientMessageToAll(COLOR_LIGHTRED, "AdmBot: %s has been kicked by AdmBot, reason: Weapon Crasher #2.", GetName(x));
                Kick(x);
                return 0;
            }
        }

Return-ul este pus gresit doar pe trimiterea mesajului.
Adica daca ai hack, trimite acel mesaj dar nu iei kick.
Iar daca nu ai hack, nu trimite mesajul dar iei kick.

+1 am rezolvat

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.