how to replace to _ if command have space?
how to replace space to _ if command have space?
E.G Code:
#include <amxmodx>it's show "helo" only how can i get the full sentence " helo goodmorning john" ?? thanks |
Re: how to replace to _ if command have space?
read_args ( output[], len )
greetz regalis |
Re: how to replace to _ if command have space?
Quote:
EDIT: eww a sec to late :P |
Re: how to replace to _ if command have space?
Note: you should specify a len value large enough to hold the whole argument line, otherwise it will be truncated
|
Re: how to replace to _ if command have space?
@lucky109
test helo goodmorning john Will return "helo"test "helo goodmorning john" Will return "helo goodmorning john"@others I'm not sure if read_args will work like you guys say, haven't tested it recently. |
| All times are GMT -4. The time now is 10:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.