Posts: 284
Threads: 77
Joined: Nov 2013
Hello there are in my server a player which spawning about 20 car and make it fly i dont know how but can i add auto ban for this people?
Posts: 32
Threads: 6
Joined: Jan 2014
/spec [Your Player ]
/rcon ban [ Your Player ]
/respawnallcar
enjoy
Posts: 1,733
Threads: 20
Joined: Nov 2010
Reputation:
0
You could use a variable that's set to 1 if your script spawns a car.
Then you can have a timer run every few seconds that loops through all vehicles, check if the vehicle exists and check if the variable is 1 for that vehicle.
If it's not 1, destroy the vehicle.
Is the player who spawns them near the cars that get spawned?
Then you could use a range-check as well to ban the closest player to that vehicle.
Posts: 32
Threads: 6
Joined: Jan 2014
Quote:
Originally Posted by anou1
And when he isnt online ? -__-
|
It can put a different name and be log in as rcon its no player is that it is the admins and he grabs the cheat and ban and voila -. -
Posts: 284
Threads: 77
Joined: Nov 2013
Well, from replys i can understand that SA:MP Scripts doesn't have a Exactly solution
Posts: 32
Threads: 6
Joined: Jan 2014
Unfortunately there is not an anti-cheat when the player spawn a car
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
There is no hack that I know of that can actually create a vehicle, rather they just teleport an existing vehicle to them.
Posts: 284
Threads: 77
Joined: Nov 2013