Command accepting partial names?
How can I get a command to accept partial names? This is my code so far:
Code:
|
Use cmd_target()
|
Like this?
Code:
|
Yes but player is now that player's id. so you don't need to do tgtid = get_user_index(target)
|
Thanks, but for some reason when you use it on someone it says invalid command. It does the command, but it prints invalid command in console.
Edit: Nvm I got it thanks guys. |
| All times are GMT -4. The time now is 17:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.