27.05.2017, 05:01
A cheat like this https://www.youtube.com/watch?v=HA72XOPQqow
but without getting inside the car.
but without getting inside the car.
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(315 2) : warning 202: number of arguments does not match definition
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(316 6) : error 025: function heading differs from prototype Maybe u know where is the problem ? |
public OnPlayerGiveDamage(playerid, damagedid, amount, weaponid, bodypart)
The fact that you fall during login tells me its your fault in the first place.
|
Player jumps from a building, logs off while he's falling, his position is saved mid air, he logs in again, his position is set to his last position in mid air, he starts falling. How is this my fault?
when player logs in and server gives him weapons from database, sometimes anti-cheat reacts to it as a weapon hack. how do I configure this include so it would be fixed? |
Player jumps from a building, logs off while he's falling, his position is saved mid air, he logs in again, his position is set to his last position in mid air, he starts falling. How is this my fault?
when player logs in and server gives him weapons from database, sometimes anti-cheat reacts to it as a weapon hack. how do I configure this include so it would be fixed? |
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0 [23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014
There is a problem (sync issues i think) with money:
// Current money: 100 // GivePlayerMoney called with new money: -50 player bought some item (-50). Код:
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0 [23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014 updated on client and getting a false money cheat. |
In GTA/SAMP you can only give money and reset money. You can not take it away. When you set -50, its perfectly fine with pawn's variable, but not with GivePlayerMoney function. Therefore you have player money still the same, and variable decreased = detection of cheating. That is actually expected behavior.
|
CMD:assist(playerid, params[])
{
//Send the command to all admins so they can see it
SendAdminText(playerid, "/assist", params);
// Check if the player is the driver of a vehicle
if (GetPlayerVehicleSeat(playerid) == 0)
{
// Fully repair the vehicle (damage value and bodywork)
RepairVehicle(GetPlayerVehicleID(playerid));
// Also re-fuel the vehicle
AVehicleData[GetPlayerVehicleID(playerid)][Fuel] = MaxFuel;
// Let the player pay for the repairs and refuel (default $2000)
RewardPlayer(playerid, -400, 0);
// Let the player know he spent $2000 for auto-repair because there were no assistance players online
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Masina a fost reparata si realimentata pentru $400");
}
// Let the server know that this was a valid command
return 1;
}
[13:04:24] Simioniulian a folosit: /assist
[13:04:24] [Nex-AC debug] AC veh health: 953.588989, veh health: 1000.000000, vehicleid: 143
[13:04:24] [Nex-AC] Suspicion on the ID 0. Reason code: 011
There is a problem (sync issues i think) with money:
// Current money: 100 // GivePlayerMoney called with new money: -50 player bought some item (-50). Код:
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0 [23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014 updated on client and getting a false money cheat. |
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(1586) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(1584) : warning 203: symbol is never used: "ac_addsiren" E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(4505) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(4519) : error 025: function heading differs from prototype E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(5624) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(5638) : error 025: function heading differs from prototype E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6387) : error 025: function heading differs from prototype