AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help Error message send to client (https://forums.alliedmods.net/showthread.php?t=194587)

omer 08-29-2012 12:19

Help Error message send to client
 
Hello,

I was making one script that if any client authorized server will clear his setinfo (some prifrix) to 0 but some of the client make his/her config to read only mode so if server can't change his/her setinfo (some prifrix) to 0 then server will give message him in chat "We can not change your setinfo (some prifrix)"

Here is my code...
PHP Code:


public client_authorized(id)
{
    if (!
is_user_bot(id)) {
        
//clear setinfo
        //client_cmd(id,"setinfo 8855448 ^"^"")
        
client_cmd(id,"setinfo 88996 ^"^"")
        
client_cmd(id,"setinfo 2252554 ^"^"")
        
client_print(idprint_chat"[DKS] Your 8855448,88996,2252554  has been cleared!");
    }
    return 
PLUGIN_CONTINUE



omer 08-29-2012 13:25

Re: Help Error message send to client
 
Is there anyone to help ?

EpicMonkey 08-29-2012 14:12

Re: Help Error message send to client
 
thats considered as slow-hacking , waiting for Yami to say NO!!! :3

omer 08-29-2012 14:14

Re: Help Error message send to client
 
Its not hacking when you are protecting your clients from hackers
We are doing this with clients permission...

fysiks 08-29-2012 19:02

Re: Help Error message send to client
 
Quote:

Originally Posted by omer (Post 1786300)
Its not hacking when you are protecting your clients from hackers

Yes it is slowhacking regardless of why you are doing it.

Quote:

Originally Posted by omer (Post 1786300)
We are doing this with clients permission...

Your code implies otherwise.

omer 08-29-2012 21:59

Re: Help Error message send to client
 
I am trying to protect admins from stealing...
In other words I am helping my client.

akcaliberg 08-29-2012 22:07

Re: Help Error message send to client
 
Quote:

Yes it is slowhacking regardless of why you are doing it.

fysiks 08-29-2012 22:21

Re: Help Error message send to client
 
Quote:

Originally Posted by omer (Post 1786300)
Its not hacking when you are protecting your clients from hackers

Quote:

Originally Posted by omer (Post 1786602)
I am trying to protect admins from stealing...

This makes me believe that you are lying. Two entirely different, unrelated reasons. Make up your mind. Regardless, my previous statement still stands.

omer 08-29-2012 23:18

Re: Help Error message send to client
 
Say clearly you don't want to help don't make statements from your self.

fysiks 08-29-2012 23:25

Re: Help Error message send to client
 
Quote:

Originally Posted by omer (Post 1786650)
Say clearly you don't want to help don't make statements from your self.

That sentence wasn't even in English. You will not get help with slowhacking regardless of your intentions. Please stop asking for help with it.


All times are GMT -4. The time now is 05:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.