Raised This Month: $ Target: $400
 0% 

read_arg?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Z@C
Member
Join Date: May 2006
Location: Moscow, Russia
Old 06-19-2006 , 13:43  
Reply With Quote #5

if i write this:
read_argv(1,name,31)
read_argv(2,minutes,9)
read_argv(3,reason,127)
read_argv(4, target, 31)
read_argv(5,cmd,15)
new player = cmd_target(id, target, 9)
get_user_name(player,nick,31)

if (equal(cmd,"amx_ban") == 1) {
if (str_to_num(minutes) == 0) {
log_amx("%s %s %s %s",nick,name/*<<admin*/,reason)
}
}
... for example. this will be work?
__________________
HLDS protocol 48 (CS 1.1.2.6 build 4883 on FreeBSD 9.0)
AMXX v1.8.1.3746 | METAMOD v1.19p32 | DProto 0.9.87
Web: Nginx 1.0.10 (build 1.1), Apache 2.2.21, PHP 5.3.8, MySQL 5.5.17
Z@C is offline
Send a message via ICQ to Z@C
 



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:04.


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