pawn Код:
if((newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) && oldstate != PLAYER_STATE_SPECTATING) {
if((gettime() - GetPVarInt(playerid, "EnterVehicle")) < 2) {
// antes de banir. Cheque se o jogador nгo usou algo com PutPlayerInVehicle em seu servidor (tipo flood de /criarcarros).
SendClientMessage(playerid, -1, "[Info] Banido por usar spawnerr mass");
BanEx(playerid, "CLEO 4");
}
SetPVarInt(playerid, "registerOnState", 1);
SetPVarInt(playerid, "EnterVehicle", gettime());
}