Weapon cheats - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Weapon cheats (
/showthread.php?tid=642668)
Weapon cheats -
extender1987 - 04.10.2017
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!
Re: I need some help!! -
Escobabe - 04.10.2017
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.
Re: I need some help!! -
extender1987 - 04.10.2017
Thanks
Re: I need some help!! -
dugi - 04.10.2017
Quote:
Originally Posted by Escobabe
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.
Re: Weapon cheats -
Kane - 04.10.2017
Start by having server sided weapons.
Re: Weapon cheats -
HydraHumza - 04.10.2017
Quote:
Originally Posted by Arthur Kane
Start by having server sided weapons.
|
LOL. He is asking for a FS not a advise. :facepalm:
Re: Weapon cheats -
Kane - 04.10.2017
LOOOL!!! SORRY! :FACEPALM: