Weapon cheats
#1

I don 't know if I 'm in right ''place' but I have a hacker in server who kill us with somenthing like minigun or it is rapid fire I don t really know .Someone have a FS anti rapid fire/minigun tto stop them .Please!!!Thanks!
Reply
#2

OT:You can /ban him or /ajail him.

IT: You could forbid the Minigun in you server, when the script detects the player has Minigun it will Kick or Ban [depending on what you want] him.

From SA-MP Wiki:
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        if(GetPlayerWeapon(killerid) == 38) Ban(killerid); //Ban if they have a minigun
    }
    return 1;
}
Add this on your script.
Reply
#3

Thanks
Reply
#4

Quote:
Originally Posted by Escobabe
View Post
From SA-MP Wiki:
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        if(GetPlayerWeapon(killerid) == 38) Ban(killerid); //Ban if they have a minigun
    }
    return 1;
}
Add this on your script.
This is a really bad idea, a cheater who uses fake death spoofing cheat will be able to get the entire server banned.
Please do not add this code to your server without adding any fake death detection.
Reply
#5

Start by having server sided weapons.
Reply
#6

Quote:
Originally Posted by Arthur Kane
View Post
Start by having server sided weapons.
LOL. He is asking for a FS not a advise. :facepalm:
Reply
#7

LOOOL!!! SORRY! :FACEPALM:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)