[Pitanje] Cheat

Započeo Shaw Salcedo, Mart 15, 2025, 01:07:00 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pitanje/savet*:

Znaci skinuo sam neki cheat da testam anticheat, za burn kao all cars i jos neke gluposti prvo mi ispamuje preko 100 ovih poruka

[Warning] client exceeded 'messageslimit' 127.0.0.1:61694 (1802) Limit: 500/sec

Nakon toga mi izbacuje ove greske

[2025-03-15T00:47:58+0100] [Error] Array index out of bounds
[2025-03-15T00:47:58+0100] [Info] [debug]
[2025-03-15T00:47:58+0100] [Info] [debug] Parameter count corrections:
[2025-03-15T00:47:58+0100] [Info] [debug]
[2025-03-15T00:47:58+0100] [Info] [debug] The 1st mangled arguments (e.g. `<1073741823 arguments>`) below should read `<1 arguments>`
[2025-03-15T00:47:58+0100] [Info] [debug] Parameter count loop detected.
[2025-03-15T00:47:58+0100] [Info] [debug]
[2025-03-15T00:47:58+0100] [Info] [debug] Run time error 4: "Array index out of bounds"
[2025-03-15T00:47:58+0100] [Info] [debug]  Attempted to read/write array element at index 65535 in array of size 200
[2025-03-15T00:47:58+0100] [Info] [debug] AMX backtrace:
[2025-03-15T00:47:58+0100] [Info] [debug] #0 000b9e10 in public g_RepairVehicle (27) in <unknown>
[2025-03-15T00:47:58+0100] [Info] [debug] #1 003267f8 in ?? (27) in <unknown>
[2025-03-15T00:47:58+0100] [Info] [debug] #2 000334cc in public WC_OnVehicleSpawn (27) in <unknown>
[2025-03-15T00:47:58+0100] [Info] [debug] #3 00063de0 in public OnVehicleSpawn (27) in <unknown>

Probao sam da izbrisem sve iz OnVehicleSpawn bukvalno sam samo ostavio ovaj g_RepairVehicle(vehicle,1000); Samo kad se vozilo spawna da ga fiksa kao ali opet isto izbacuje iste greske, na vrhu dodah ako je invalid vehicle da nista ne radi probao sam i sa return 1 i sa return 0.

forward g_RepairVehicle(vehicleid);
public g_RepairVehicle(vehicleid)
{
	if(vehicleid == INVALID_VEHICLE_ID) 
		return 1;
    RepairVehicle(vehicleid);
    if(GetVehicleDriver(vehicleid) != -1)
    {
    	FixedCar[GetVehicleDriver(vehicleid)] = true;
    }
    return 1;
}
Opis*:
Dodatne informacije:
GAD SAM JA

Sredjeno
Poslednja Izmena: Mart 15, 2025, 15:04:40 POSLE PODNE od Shaw Salcedo
GAD SAM JA