AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Read 2 Args (https://forums.alliedmods.net/showthread.php?t=174671)

kramesa 12-23-2011 12:49

Read 2 Args
 
PHP Code:

/* Script generated by Pawn Studio */ 

#include <amxmodx> 
#include <amxmisc> 

#define PLUGIN    "New Plugin" 
#define AUTHOR    "Unknown" 
#define VERSION    "1.0" 

public plugin_init() 

    
register_plugin(PLUGINVERSIONAUTHOR
    
    
register_clcmd("say""cmdsay"


public 
cmdsay(id

    
read_args(..) 
    
    if(
equali(Args"/command")) 
    { 
        
read_Args(...) 
    } 


I need read_args of /commad, example: say /command 123, i need ready the '123'.

Larcyn 12-23-2011 12:51

Re: Read 2 Args
 
Check http://forums.alliedmods.net/showpos...4&postcount=12

kramesa 12-23-2011 13:03

Re: Read 2 Args
 
Ok, i will check. Thanks.


All times are GMT -4. The time now is 20:53.

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