Weapon drop, and kick!
#1

Hello, i downloaded a filterscript that when you die, the weapon is on the ground, so, when im trying to get it, the server kicks me for " hack weapon ".

This is the stuff i think , sorry for asking but i can't fix it!.

hackerTrigger(playerid,newweapon){
if(!gPlayerLogged{playerid}) { return 1; }
if(Info[playerid][pTut] == 0) { return 1; }
if(GetPVarInt(playerid, "IsInArena") == 1) { return 1; }

new reason[94],string[94];
format(string, sizeof(string), "AdmWarning: {FFFFFF}%s - Weapon Hacking (%s).", GetPlayerNameEx(playerid), WeaponNames[newweapon]);
ABroadCast(COLOR_ORANGE,string, 2);
format(string, sizeof(string), "AdmCmd: %s fue expulsado por el servidor, razуn: weapon hack", GetPlayerNameEx(playerid));
SendClientMessageToAllEx(COLOR_LIGHTRED, string);
SafeDialogEx(playerid,INVALID_DIALOG,DIALOG_STYLE_ MSGBOX,"Haz sido expulsado del servidor","El Servidor\nte ha expulsado\nRazon: Weapon Hack","Salir","");
SetTimerEx("KickxD",500,0,"d",playerid);

format(reason, sizeof(reason), "Weapon Hacking (%s).", WeaponNames[newweapon]);
return 1;
}
Reply


Messages In This Thread
Weapon drop, and kick! - by gamersx - 07.02.2017, 21:12
Re: Weapon drop, and kick! - by JesterlJoker - 08.02.2017, 04:25
Re: Weapon drop, and kick! - by gamersx - 08.02.2017, 16:58
Re: Weapon drop, and kick! - by Sew_Sumi - 08.02.2017, 16:59
Re: Weapon drop, and kick! - by saffierr - 08.02.2017, 18:12
Re: Weapon drop, and kick! - by gamersx - 08.02.2017, 18:17
Re: Weapon drop, and kick! - by saffierr - 08.02.2017, 18:22
Re: Weapon drop, and kick! - by Sew_Sumi - 08.02.2017, 19:23
Re: Weapon drop, and kick! - by gamersx - 09.02.2017, 04:40
Re: Weapon drop, and kick! - by Sew_Sumi - 09.02.2017, 04:57

Forum Jump:


Users browsing this thread: 1 Guest(s)