Wieso Funktioniert es so nicht?
new AntiVehicleSpam[MAX_PLAYERS];
AntiVehicleSpam[playerid] = 0;
SetTimerEx("AntiVehSpawnCheck",2500,1,"i",playerid);
AntiVehicleSpam[playerid]++;
forward AntiVehSpawnCheck(playerid);
public AntiVehSpawnCheck(playerid)
{
if(AntiVehicleSpam[playerid] >= 4)
{
AntiVehicleSpam[playerid] = 0;
BanSpieler(playerid,999,"Carspawn Hack");
}
AntiVehicleSpam[playerid]--;
return 1;
}