Thread: SuperSlap
View Single Post
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-13-2008 , 20:20   Re: SuperSlap
Reply With Quote #6

I recommend putting this part before you start reading the args
PHP Code:
if(read_argc() < 4){
        
console_print(id,"%L",LANG_PLAYER,"SUPERSLAP_USAGE")
        return 
PLUGIN_HANDLED
    

Change arg[24] to arg[32]. The name is max 31 chars.

I would also recommend adding a check to make sure they are not dead, such as using this instead
PHP Code:
new target cmd_target(idarg12
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline