26.02.2018, 15:04
Quote:
...
@Dayerion: Can you please explain how's that going to do any better than simply using the stock tag or not using any at all? |
Quote:
We set timers to give protection to the player in anti cheat systems for a certain amount of time so that he wouldn't get detected falsely as a cheater due to lag and high ping. Instead of giving warnings as if a player lags 3 times he'll get banned falsely, this gives a more solid detection.
|
Quote:
Where's that done? it's up to the scripter to not return invalid player ids otherwise he's causing problems to himself afaik.
|
PHP код:
stock wSetPlayerAmmo(playerid, weapon, ammo)
{
weaponsInfo[playerid][Ammo][weapon] = ammo;
if(!weaponsInfo[playerid][wImmune]) SetTimerEx("wResetImmune", 3000, false, "i", playerid);
weaponsInfo[playerid][wImmune] = true;
return SetPlayerAmmo(playerid, weapon, ammo);
}
PHP код:
SetPlayerAmmo(INVALID_PLAYER_ID, 30, 99);
Which is completly false. You can't get every weapons at the same times. You can get only one weapon by slot. That was my point.
By the was Dayrion is way better than Dayerion