Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Updated 2020-12-17 | Rewiews: 250
- //Created by Vok3 | more: https://pastebin.com/u/Voke_Bass
- new CheckSpam[MAX_PLAYERS];
- public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)
- {
- if(passenger_seat != 0)
- {
- if(vel_z == 400.0)
- {
- if(CheckSpam[playerid]) return 1;
- new String[100];
- format(String, sizeof(String), "[Anti-Cheat] Player %s was kicked out of the server!", /*GetPlayerName*/);
- SendClientMessageToAll(-1, String);
- CheckSpam[playerid] = 1;
- Kick(playerid);
- return 0;
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement