Mey am gasit un anti-cheat si ma pune sa ma uit in readme.txt sa urmez pasi aceea
Uitati pasii
1. Extract all files
2. Open your gamemode
3. Write #include <JunkBuster> on top of your script
4. Open JunkBuster.inc
5. Read the introduction
6. Put JB_OnPlayerSpawn(playerid); under OnPlayerSpawn(playerid) in your script
7. Put JB_OnPlayerDeath(playerid,killerid,reason); under OnPlayerDeath(playerid,killerid,reason) in your script
8. Put JB_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid); under OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
9. Put JB_OnGameModeInit(); under OnGameModeInit() in your script
10. Put JB_OnPlayerConnect(playerid); under OnPlayerConnect(playerid) in your script
11. The function OnPlayerText(playerid, text[]) in your script should return with JB_OnPlayerText(playerid, text[]);
12. The function OnPlayerPrivmsg(playerid, recieverid, text[]) in your script should return with JB_OnPlayerPrivmsg(playerid, recieverid, text[]);
13. Put if(JB_OnPlayerCommandText(playerid, cmdtext[])) return 1; under OnPlayerCommandText(playerid, cmdtext[]) in your script
14. Put JB_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger); under OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) in your script
15. Put JB_OnPlayerStateChange(playerid, newstate, oldstate); under OnPlayerStateChange(playerid, newstate, oldstate) in your script
16. Compile your gamemode and run your server
Asta e introducerea
+-----------------------------------------------------------------------+
¦ JunkBuster Anti-Cheat ¦
¦ by ¦
¦ Double-O-Seven ¦
¦ ¦
¦ This Anti-Cheat script is made by me, Double-O-Seven. The famous ¦
¦ Anti-Cheat system "PunkBuster" inspired me the script a new ¦
¦ Anti-Cheat script for SA:MP. It contains many functions against ¦
¦ normal cheats and cheats from specific cheat tools. It's against ¦
¦ (command) spam, too. It doesn't contain codes which result many ¦
¦ codes which would cause kicks/bans of innocent players. ¦
¦ There is no real check for godmode and no server-based health/armour ¦
¦ because it's just stupid. Because there are so much possibilities to ¦
¦ get health without SetPlayerHealth. This would cause very much wrong ¦
¦ kicks/bans. The only code which could ban innocents is the teleport ¦
¦ code and the carjack code. It could kick extreme laggy players. ¦
¦ If JunkBuster kicks/bans too much innocent players, disable the codes ¦
¦ which kick/ban too much innocent players. You can easily configurate ¦
¦ JunkBuster in the file "JunkBuster.cfg" in the folder "JunkBuster" ¦
¦ in the folder "scriptfiles". Use "/cfg" ingame if you are (rcon)admin ¦
¦ to update the configuration. Define in "BadWords.cfg" the forbidden ¦
¦ words, define in "ForbiddenWeapons.cfg" to forbidden weapons. ¦
¦ ¦
¦ I call this script a 'Plug & Play'-script! Why? In this version ¦
¦ You only need to include the script and compile your gamemode. ¦
¦ Everything important is done by the script itself. You DON'T need to ¦
¦ change anything! (Except for some functions when they are already ¦
¦ defined. ¦
¦ ¦
¦ This script has been made by Double-O-Seven! You are NOT allowed to: ¦
¦ - Remove this text ¦
¦ - Rename JunkBuster ¦
¦ - Re-release this script ¦
¦ - Say it's your own script ¦
¦ ¦
¦ But you are allowed to add more functions and use it on your server. ¦
+-----------------------------------------------------------------------+
Si nu inteleg unde sa pun alea de la punctele 6 7 8 .... alea cu Put ....
Un sa le pun in JunkBuster.inc sau in GameMod ? va rog sa imi spuneti si mie ca sunt incepator si mie sa nu stric cv
Question
Guest ChiNeZu
Mey am gasit un anti-cheat si ma pune sa ma uit in readme.txt sa urmez pasi aceea
Uitati pasii
Asta e introducereaSi nu inteleg unde sa pun alea de la punctele 6 7 8 .... alea cu Put ....
Un sa le pun in JunkBuster.inc sau in GameMod ? va rog sa imi spuneti si mie ca sunt incepator si mie sa nu stric cv
Link to comment
Share on other sites
8 answers to this question
Recommended Posts