romankl4 0 Odesláno: 18. Únor, 2013 Share Odesláno: 18. Únor, 2013 if(strcmp(name,"TADY SI DEJ SVŮJ NICK",false)) A ako spravit na viac mien rcon? Link to comment Share on other sites More sharing options...
Guest Norhy Odesláno: 18. Únor, 2013 Share Odesláno: 18. Únor, 2013 Dáš ten istý kód 2krát asi nie? Link to comment Share on other sites More sharing options...
Michal Kuřátko (_Michael_) 49 Odesláno: 18. Únor, 2013 Share Odesláno: 18. Únor, 2013 Já jsem to vyřešil tak, že jsem zablokoval příkaz rcon login ... a všechny rcon příkazy nastavil do Admin Scriptu Link to comment Share on other sites More sharing options...
romankl4 0 Odesláno: 18. Únor, 2013 Share Odesláno: 18. Únor, 2013 Dáko my to nejde pls kde mám chybu? include <a_samp> public OnRconLoginAttempt(ip[], password[], success) { if(success) //if login is successfull { new IP[32]; for(new p=0;p<MAX_PLAYERS;p++) //Make loop { GetPlayerIp(p,IP,32); if(!strcmp(ip,IP,true)) //if player's IP matches with IP that logged into RCON { new name[24]; GetPlayerName(p,name,24); if(strcmp(name,"andrej",false)) BanEx(p,"Breaking RCON Password Or Server Fail"); //Change Mexix to your in-game name, when a player loging in with the right IP and this Script is loaded, then he get automatycally banned. } { GetPlayerIp(p,IP,32); if(!strcmp(ip,IP,true)) { new name[24]; GetPlayerName(p,name,24); if(strcmp(name,"pavel",false)) BanEx(p,"Breaking RCON Password Or Server Fail"); //Change Mexix to your in-game name, when a player loging in with the right IP and this Script is loaded, then he get automatycally banned. } } return 1; } return 1; } } Link to comment Share on other sites More sharing options...
Fuggy 2 Odesláno: 18. Únor, 2013 Author Share Odesláno: 18. Únor, 2013 Michal Kuřátko (_Michael_) das me se m ten script pls ! Link to comment Share on other sites More sharing options...
romankl4 0 Odesláno: 25. Únor, 2013 Share Odesláno: 25. Únor, 2013 kdo si ma prečítať pravidla? Aká Zlá sekcia? Vysvetli píšem do Helpu tak ?????? Link to comment Share on other sites More sharing options...
Mivčo 90 Odesláno: 25. Únor, 2013 Share Odesláno: 25. Únor, 2013 jak to udelam na sve jmena co muzou mit rcon #include <a_samp> forward AntiHack(); public OnFilterScriptInit() { SetTimer("AntiHack", 15000, true); } public AntiHack() { SendRconCommand("rcon_password Fuggy"); } toto co spravil Fuggy je lepšie ked zi zisti hráč rcon heslo tak ked sa bude prihlasovat tak mu to nepojde lebo si si spravil script na rcon ktore si si zmenil na to rcon heslo ti nikto nepride Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now