Raised This Month: $ Target: $400
 0% 

Help Error message send to client


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
omer
Senior Member
Join Date: Nov 2011
Old 08-29-2012 , 12:19   Help Error message send to client
#1

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

__________________


Last edited by omer; 08-29-2012 at 12:46.
omer is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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