Weapon Hack[Problem]
#1

if a player has any one of these weapons we all get spammed that he has weapons and he doesent get kicked..


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) == 37 || GetPlayerWeapon(i) == 38 || GetPlayerWeapon(i) == 17)
                            {
                                
format(stringsizeof(string), "%s a primit Kick de la BOT, Motiv: Weapon Hack",sendername);
                                
SendClientMessageToAll(COLOR_REDstring);
                                
Kick(playerid);
                                return 
1;
                                }
                        }
                         return 
1;
                    } 
Reply


Messages In This Thread
Weapon Hack[Problem] - by Akcent_Voltaj - 26.10.2012, 13:18
Re: Weapon Hack[Problem] - by CoaPsyFactor - 26.10.2012, 13:20
Re: Weapon Hack[Problem] - by Faisal_khan - 26.10.2012, 13:24
Re: Weapon Hack[Problem] - by CoaPsyFactor - 26.10.2012, 13:28
Re: Weapon Hack[Problem] - by gtakillerIV - 26.10.2012, 13:57
Re: Weapon Hack[Problem] - by CoaPsyFactor - 26.10.2012, 14:47

Forum Jump:


Users browsing this thread: 2 Guest(s)