Raised This Month: $ Target: $400
 0% 

hook_say arg2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ex3cuTioN
Member
Join Date: May 2010
Old 07-25-2010 , 10:02   hook_say arg2
Reply With Quote #1

PHP Code:
public hook_say(id) {
    static 
chat[192];
    
read_argv(1chat,sizeof(chat) - 1); 
    
remove_quotes(chat); 
    
    if(
equal(chat[2],"")) {
        
client_print(id,print_chat,"No arguments given");
        return 
PLUGIN_CONTINUE;
    }
    
    if(
equal(chat"/raport"7)) {
        
//code
    
}

How can i see if after /raport is text or not ?
Ex3cuTioN 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 00:18.


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