Weapon Hack
#1

i made a weapon hack and sometimes when i join svr i get kicked.Weapon hack..kicking innocent people..


PHP код:
forward weaponhack(playerid);
                    public 
weaponhack(playerid)
                    {
                        for(new 
iMAX_PLAYERSi++)
                        {
                            new 
sendername[MAX_PLAYER_NAME];
                            
GetPlayerName(isendernamesizeof(sendername));
                              new 
string[256];
                            if(
GetPlayerWeapon(i) == 35  || GetPlayerWeapon(i) == 36 || GetPlayerWeapon(i) == 37 || GetPlayerWeapon(i) == 38 || GetPlayerWeapon(i) == 17 || GetPlayerWeapon(i) == 44 || GetPlayerWeapon(i) == 45 || GetPlayerWeapon(i) == 39 || GetPlayerWeapon(i) == 40 || GetPlayerWeapon(i) == 9)
                            {
                                
format(stringsizeof(string), "%s a primit Kick de la BOT, Motiv: Weapon Hack",sendername);
                                
SendClientMessageToAll(COLOR_REDstring);
                                
Kick(i);
                                return 
1;
                            }
                        }
                         return 
1;
                    } 
Reply
#2

Try to put "ResetPlayerWeapons(playerid);" on "OnPlayerConnect".
Reply
#3

you sure??i still get
Reply
#4

Hm... check if you add to give weapons in some skin or when player connect in some filterscript.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)