fytza Posted October 27, 2013 Report Share Posted October 27, 2013 Salut Am Nevoie De Ajutorul Vostru Daca cumpar Ceva De La 24/7 Nu Imi Ia Bani (II ia si dupa mi da inapoi) Si Tot Aceasi suma amSi La Tunning Cand Tunezi Masina Schimbi Culoare Orice Tunning Iti Da Bani In 2 min am facut 9kk Cum Pot Rezolva Aceste Buguri Ajutatima Dau +1 Link to comment Share on other sites More sharing options...
Mihaitza. Posted October 28, 2013 Report Share Posted October 28, 2013 1. Foloseste GivePlayerCash daca ai GivePlayerMoney.2. Nu am mai auzit de asta. Verifica OnVehicleRespray si restul publicurilor care se declanseaza la tunning. Link to comment Share on other sites More sharing options...
fytza Posted October 28, 2013 Author Report Share Posted October 28, 2013 cand tunez masina dupa imi zice don't hackAm stesr toate astea [pawn]public GlobalHackCheck(){ /* * DUCK anticheat v1.0 * by Luk0r & Alex_Raven * * This function is called every second the check each * player's money/weapons to ensure they're not hacking * */ new curHour, curMinute, curSecond; new string[256], plname[64]; new weaponid, ammo; //new hacking; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) && PlayerInfo[pAdmin] < 1) { gettime(curHour, curMinute, curSecond); if (ScriptMoneyUpdated+2 < curSecond) { new plactualmoney = GetPlayerCash(i); if (plactualmoney > ScriptMoney && plactualmoney-999 > ScriptMoney) { // Probably using a money hack, let's freeze them, lock their account and kick them. GetPlayerName(i, plname, sizeof(plname)); //TogglePlayerControllable(i, 0);/* format(string, sizeof(string), "AdmCmd: %s was banned by DUCK, reason: money cheat", plname); SendClientMessageToAll(COLOR_LIGHTRED, string);*/ /*PlayerInfo[pLocked] = 1; OnPlayerUpdateEx(i); GetPlayerIp(i, banip, sizeof(banip)); new spawnedamount = plactualmoney-ScriptMoney; format(string, sizeof(string), "AdmCmd: %s was locked by DUCK, reason: money cheat ($%d)", plname, spawnedamount); BanLog(string); Kick(i); ScriptMoney = 0; ScriptMoneyUpdated = 0; SendClientMessageToAll(COLOR_LIGHTRED, string);*/ } if(GetPlayerMoney(i) != Cash) { GivePlayerCash(i,Cash); SendClientMessage(i,COLOR_YELLOW,"Don't hack !"); }/* gettime(curHour, curMinute, curSecond); if (ScriptWeaponsUpdated+3 < curSecond) { hacking = 0; for (new c=0; c<13; c++) { GetPlayerWeaponData(i, c, weaponid, ammo); if (weaponid != 0 && ammo != 0) { if (ScriptWeapons[c] != weaponid) { hacking = weaponid; } } } if (hacking != 0) { // Probably using a weapon hack, let's freeze them, lock their account and kick them. TogglePlayerControllable(i, 0); GetPlayerName(i, plname, sizeof(plname)); format(string, sizeof(string), "AdmCmd: %s was banned by DUCK, reason: weapon hack", plname); SendClientMessageToAll(COLOR_LIGHTRED, string); BanLog(string); PlayerInfo[pLocked] = 1; OnPlayerUpdateEx(i); GetPlayerIp(i, banip, sizeof(banip)); BanAdd(4, PlayerInfo[pSQLID], banip, hacking); //format(string, sizeof(string), "Anticheat: %s [sql: %d] has just been locked and kicked for weapon hacking. Please check the account.", plname, PlayerInfo[pSQLID]); Kick(i); for (new c=0; c<13; c++) ScriptWeapons[c] = 0; ScriptWeaponsUpdated = 0; //ABroadCast(COLOR_LIGHTRED,string,1); } }*//* for (new n=0; n<12; n++) { GetPlayerWeaponData(i, n, weaponid, ammo); if (ammo > MAX_AMMO && weaponid != 0) { GetPlayerName(i, plname, sizeof(plname)); format(string, sizeof(string), "AdmCmd: %s was banned by DUCK, reason: weapon hack", plname); SendClientMessageToAll(COLOR_LIGHTRED, string); BanLog(string); PlayerInfo[pLocked] = 1; OnPlayerUpdateEx(i); Kick(i); } if (weaponid == 38) { GetPlayerName(i, plname, sizeof(plname)); format(string, sizeof(string), "AdmCmd: %s was banned by DUCK, reason: minigun invasion", plname); SendClientMessageToAll(COLOR_LIGHTRED, string); BanLog(string);// PlayerInfo[pLocked] = 1;// OnPlayerUpdateEx(i); Ban(i); } }*/ GetPlayerWeaponData(i, 7, weaponid, ammo); new pSpecialAction = GetPlayerSpecialAction(i); if (weaponid > 1 || pSpecialAction == SPECIAL_ACTION_USEJETPACK) { // Illegal weapon TogglePlayerControllable(i, 0); SendClientMessage(i, COLOR_LIGHTRED, "Anticheat: Ai primit Ban pentru Weapon Hack."); SendClientMessage(i, COLOR_LIGHTRED, "Anticheat: Pentru cerere unbam viziteaza www.ProComunity.Com"); SendClientMessage(i, COLOR_RED, "DUCK Anticheat 1.5"); PlayerInfo[pLocked] = 1; OnPlayerUpdateEx(i); //GetPlayerIp(i, banip, sizeof(banip)); //BanAdd(4, PlayerInfo[pSQLID], banip, 38); GetPlayerName(i, plname, sizeof(plname)); format(string, sizeof(string), "AdmCmd: %s was banned by AdmBot, reason: weapon hack", plname); // Ban(i); SendClientMessageToAll(COLOR_LIGHTRED, string); } } }}[/pawn]si acum imi da erroarea [pawn]C:\Users\fytza\Desktop\Sever\gamemodes\RORP.pwn(12410) : error 010: invalid function or declarationC:\Users\fytza\Desktop\Sever\gamemodes\RORP.pwn(12412) : warning 218: old style prototypes used with optional semicolumnsC:\Users\fytza\Desktop\Sever\gamemodes\RORP.pwn(12413) : error 021: symbol already defined: "SendClientMessage"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase2 Errors.[/pawn] Link to comment Share on other sites More sharing options...
Mihaitza. Posted October 28, 2013 Report Share Posted October 28, 2013 Arata liniile. Link to comment Share on other sites More sharing options...
fytza Posted October 28, 2013 Author Report Share Posted October 28, 2013 Rezolvat By Mafia. Link to comment Share on other sites More sharing options...
Question
fytza
Salut Am Nevoie De Ajutorul Vostru
Daca cumpar Ceva De La 24/7 Nu Imi Ia Bani (II ia si dupa mi da inapoi) Si Tot Aceasi suma am
Si La Tunning Cand Tunezi Masina Schimbi Culoare Orice Tunning Iti Da Bani In 2 min am facut 9kk
Cum Pot Rezolva Aceste Buguri Ajutatima
Dau +1
Link to comment
Share on other sites
4 answers to this question
Recommended Posts