Raised This Month: $ Target: $400
 0% 

How can I find a target?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Boyka Abi
BANNED
Join Date: May 2012
Old 05-18-2012 , 18:58   Re: How can I find a target?
Reply With Quote #7

Hmm nevermind, can anyone help me and tell me what im doing wrong in this code.

PHP Code:
public Cmdsay(id)
{
    new 
message[192]
    
read_args(messagecharsmax(message))
    
remove_quotes(message)
    
    if (
equal(message"!slap"))
    {
        new 
arg[65]
        
read_args(argcharsmax(arg))
        
parse(messageargcharsmax(arg))
        
        new 
target cmd_target(idarg)
        
        new 
name[32], name2[32]
        
get_user_name(idname31)
        
get_user_name(targetname231)
        
        if (
target)
        {
            
user_slap(target0)
            
ColorChat(0GREY"%s ^4%s^1 has slapped ^4%s"Prefixnamename2)
        }
    }
    return 
PLUGIN_CONTINUE

Boyka Abi 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:26.


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