Raised This Month: $51 Target: $400
 12% 

Public player's played time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Magicher0ex
Member
Join Date: Dec 2019
Old 08-17-2020 , 17:15   Public player's played time
Reply With Quote #1

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

Last edited by Magicher0ex; 08-17-2020 at 17:21.
Magicher0ex is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-17-2020 , 18:26   Re: Public player's played time
Reply With Quote #2

Quote:
Originally Posted by Magicher0ex View Post
Here is the link because i don't know how to upload directly (with include file): https://easyupload.io/m/6d1q04
You upload directly to the forums by attaching the file to your post using the "Manage Attachments" function.

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.
__________________

Last edited by fysiks; 08-17-2020 at 18:36.
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:04.


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