random_num issue
Here's a part of my little plugin to filter player nicknames.
PHP Code:
PHP Code:
|
Re: random_num issue
PHP Code:
|
Re: random_num issue
Also, as most of amxx natives, get_user_name is already returning the string len, so you can do :
if( get_user_name(id, szName, charsmax(szName)) < 4 ) |
Re: random_num issue
Quote:
|
Re: random_num issue
Quote:
|
Re: random_num issue
Quote:
PHP Code:
|
Re: random_num issue
Quote:
First, check for Format and then for FormatEx to see the difference. They'll make you understand better than me. This is for Source Mod, but the documentation seems better and the natives are approximately same. An example: PHP Code:
|
Re: random_num issue
Quote:
|
Re: random_num issue
Quote:
|
Re: random_num issue
Quote:
|
| All times are GMT -4. The time now is 06:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.