I Need Anti Troll Car - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I Need Anti Troll Car (
/showthread.php?tid=647208)
I Need Anti Troll Car -
ducmcmca1 - 01.01.2018
Can You Tell me, how to create anti Cleo troll car (Ctrl , 1, 2, 3, 4, 5, 6)?
Link Video Cleo Troll Car:
https://www.youtube.com/watch?v=jRFdTtsbliY
Thanks For Help me
Re: I Need Anti Troll Car -
GangstaSunny. - 01.01.2018
There are a bunch of anticheat filterscripts including stuff like this. Just use g#&gle for a sec Jesus...
Re: I Need Anti Troll Car -
JesterlJoker - 01.01.2018
found this on ******
samp-ac
They claim to have the latest ac but the problem is that you need to tell your players to dl this or force them to dl before they can play your server.
There is also
nex-ac
I haven't used any of this ac since I'm creating my own ac so... Try them out.
Re: I Need Anti Troll Car -
GangstaSunny. - 01.01.2018
Quote:
Originally Posted by JesterlJoker
found this on ******
samp-ac
They claim to have the latest ac but the problem is that you need to tell your players to dl this or force them to dl before they can play your server.
There is also nex-ac
I haven't used any of this ac since I'm creating my own ac so... Try them out.
|
nex-ac is ignoring to many variables. i can not recommend it.
Re: I Need Anti Troll Car -
RogueDrifter - 01.01.2018
Quote:
Originally Posted by GangstaSunny.
nex-ac is ignoring to many variables. i can not recommend it.
|
+1 i tried using it and it fucked me up removed it right after, it is decent for CERTAIN types of servers.
Re: I Need Anti Troll Car -
raydx - 01.01.2018
Here you are, my method is working for almost every car troll hack:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
pInfo[playerid][player_entering_vehicle] = vehicleid;
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if( (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) && (oldstate != PLAYER_STATE_DRIVER && oldstate != PLAYER_STATE_PASSENGER) )
{
if( pInfo[playerid][player_entering_vehicle] != GetPlayerVehicleID(playerid) )
{
//Punish cheater
}
else
{
pInfo[playerid][player_entering_vehicle] = -1;
}
}
return 1;
}