07.09.2013, 11:34
so i copied an anti weapohn hack , it works good ( when hacker bring a gun and use it in his hands it will detect him )
and it have complete server side weapon
i have an saveing weapon system (works good)
but my problem is
so when a cheater enable a gun but he dont bring it in his hands and he relog , and then he come back the cheat weapon was saved by saveing weapon system
onPlayerDisconnect
i have this
is there anyway that you save real gun witch server gave to the player ?
and it have complete server side weapon
Код:
stock ServerWeapon(playerid,weaponid,ammo) { PlayerWeapons[playerid][weaponid]=true; // Player Has the weapon. GivePlayerWeapon(playerid,weaponid,ammo); // To realy give him the weapon. }
but my problem is
so when a cheater enable a gun but he dont bring it in his hands and he relog , and then he come back the cheat weapon was saved by saveing weapon system
onPlayerDisconnect
i have this
Код:
GetPlayerWeaponData(playerid, 1, WeaponInfo[playerid][Weapon1], WeaponInfo[playerid][Ammo1]);