Jump to content
  • 0

Ajutorr


fytza

Question

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

cand tunez masina dupa imi zice don't hack

Am 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 declaration

C:\Users\fytza\Desktop\Sever\gamemodes\RORP.pwn(12412) : warning 218: old style prototypes used with optional semicolumns

C:\Users\fytza\Desktop\Sever\gamemodes\RORP.pwn(12413) : error 021: symbol already defined: "SendClientMessage"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.