Raised This Month: $ Target: $400
 0% 

Read_agv...Error?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
r4ndomz
Senior Member
Join Date: Jul 2009
Location: The Hood
Old 03-20-2010 , 14:02   Read_agv...Error?
Reply With Quote #1

Hey, i was making my own version of amx_slap, and read_argv didnt work out to well for me.


PHP Code:
register_concmd("amx_ultslap""slap_cmd"ADMIN_BAN"- amx_ultslap <Victim> <Damage> <# of Slaps>"); 
PHP Code:
public slap_cmd(id)
{
    new 
arg[32], arg2arg3name[32], name2[32];

    
readargv(1arg31)
    
readargv(2arg20)
    
readargv(3arg30)

    
get_user_name(idname31)
    
get_user_name(idname231)

    for (new 
i=1i<=arg3i++)
    {
           
user_slap(argarg20);
    }

    
client_print(0print_chat"ADMIN: %s has slapped %s"namename2); 

What did i do wrong?
__________________
HideNSeek bug fixed here:http://forums.alliedmods.net/showpos...&postcount=951

PM me if you want a nice HideNSeek shop
NEED PLUGIN TESTERS PM ME
r4ndomz is offline
Send a message via Skype™ to r4ndomz
 



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 08:40.


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