AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Variable (https://forums.alliedmods.net/showthread.php?t=244697)

xPossible 07-22-2014 12:02

Variable
 
How can i check variable with 4 characters?

Example: i have variable = Superstar

in console i type
PHP Code:

amx_find star 

and i should get full name Superstar, it shoud be like this?

equali(read_argv(), Superstar) or contain? How? Please help me...

jimaway 07-22-2014 12:54

Re: Variable
 
not sure what you mean, but if you want to find player with only part of the name you can use cmd_target stock from amxmisc

xPossible 07-22-2014 14:51

Re: Variable
 
Quote:

Originally Posted by jimaway (Post 2171927)
not sure what you mean, but if you want to find player with only part of the name you can use cmd_target stock from amxmisc

Thank you for good idea!


All times are GMT -4. The time now is 13:11.

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