Public player's played time
Here is the link because i don't know how to upload directly (with include file): https://easyupload.io/m/6d1q04
Can anyone make it to see every player's time in the server with /time "name" and if the system doesn't found the name to print in the chat client_print_color(id, "There is no OR multiple players with that name ->^x03 %s", szTarget); exactly like this |
Re: Public player's played time
Quote:
Also note that because this is the Scripting Help section, you are asking for help editing the plugin on your own. So, you should attempt to make the changes yourself (and test them). If you have issues doing this, you should post a specific question about what you're having issues with. If you want someone else to make the edit for you, you need to post in the "Suggestions/Requests" section. Often people have issues trying to take in arguments for chat commands because you can't do it in the same way that a console command does it. Taking in arguments in a chat message requires hooking "say" and parsing the string to 1) determine if it's the command that you're handling and 2) what the arguments are. When you've determined that it is your command and can identify the argument, you can pass it to an existing function to do the normal functionality. |
| All times are GMT -4. The time now is 13:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.