cut arg1 from read_args(allargs,64)
hi,
i have a command: amx_dgc <nick> <reason> and i want to store the reason in a mysql database. at the moment i store <nick> and <reason> cause i don't know how to cut the <nick> from read_args. is there any way to do so? by the way - <reason> is not only one word and i do not want to use " thx splaTTer |
yep, the parse() function allows you to do so..
Code:
be sure to encapsulate each arg in quotes "", or else it may break them up. Code:
amx_dgc "Ryan" "For being a super 1337 amxx h4x0r!" |
| All times are GMT -4. The time now is 14:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.