Check if player is hacking
#2

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Hi,

I've made a command to check if a player is hacking (health hacks) it nearly works, but the messages are going wrong.
The messages:
pawn Код:
//Just a part of the code that is sending the message if he hacks or not
        if(health == 100)
        {
            SendClientMessage(playerid,COLOR_YELLOW,"Invulnerability check result : [POSITIVE]");
            checkinv = 0;
        }
        else if(health != 100)
        {
            SendClientMessage(playerid,COLOR_YELLOW,"Invulnerability check result : [NEGATIVE]");
            checkinv = 0;
        }
But there is something wrong, the message is going to the person where I did the hack test.
Not to the Administrator who did the command. By the way, I hope you understand the problem. But I can't find the solution.

` Kingunit
pawn Код:
//Just a part of the code that is sending the message if he hacks or not
        if(health == 1000)
        {
            SendClientMessage(playerid,COLOR_YELLOW,"Invulnerability check result : [POSITIVE]");
            checkinv = 0;
        }
        else if(health != 100)
        {
            SendClientMessage(playerid,COLOR_YELLOW,"Invulnerability check result : [NEGATIVE]");
            checkinv = 1;
        }
Maybe
Reply


Messages In This Thread
Check if player is hacking - by Kingunit - 27.07.2011, 23:12
Re: Check if player is hacking - by SpiderWalk - 27.07.2011, 23:15
Re: Check if player is hacking - by Kingunit - 27.07.2011, 23:38
Re: Check if player is hacking - by Gamer_Z - 27.07.2011, 23:39
Re: Check if player is hacking - by Kingunit - 27.07.2011, 23:41
Re: Check if player is hacking - by iPLEOMAX - 27.07.2011, 23:44
Re: Check if player is hacking - by Kingunit - 27.07.2011, 23:49
Re: Check if player is hacking - by iPLEOMAX - 27.07.2011, 23:52
Re: Check if player is hacking - by Gamer_Z - 27.07.2011, 23:53

Forum Jump:


Users browsing this thread: 2 Guest(s)