11.11.2010, 05:27
Here i go again... sry
I have made a Black Market with guns as Rocket Launcher and such you can buy
but.. may sound wierd but i wan't to allow a weapon to be used cause when a player tryes to by it the anti hack bans him for weapon hack
I been searching around now and i have no idea where the hell those Weap ID's are...
i wan't to allow some weapons so the bot don't ownde them.
I have made a Black Market with guns as Rocket Launcher and such you can buy
but.. may sound wierd but i wan't to allow a weapon to be used cause when a player tryes to by it the anti hack bans him for weapon hack
I been searching around now and i have no idea where the hell those Weap ID's are...
i wan't to allow some weapons so the bot don't ownde them.
Код:
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: You have been banned due to suspected cheating."); SendClientMessage(i, COLOR_LIGHTRED, "Anticheat: Please contact an admin oon the forum if you feel this is in error."); SendClientMessage(i, COLOR_RED, "iBot Anticheat 0.6 by Jofi"); //PlayerInfo[i][pLocked] = 1; OnPlayerUpdate(i); //GetPlayerIp(i, banip, sizeof(banip)); //BanAdd(4, PlayerInfo[i][pSQLID], banip, 38); GetPlayerName(i, plname, sizeof(plname)); format(string, sizeof(string), "AdmCmd: %s was banned by [AntiHack]bot, reason: weapon hack", plname); Ban(i); SendClientMessageToAll(COLOR_LIGHTRED, string);