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

Speclist! [REQ]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zapparncsgo
Senior Member
Join Date: Dec 2014
Old 02-20-2015 , 17:29   Speclist! [REQ]
Reply With Quote #1

I would need a plugin which shows the player in sidehud which players are spectating them and it needs to work on cs:go
zapparncsgo is offline
natrios
Senior Member
Join Date: Feb 2014
Old 02-22-2015 , 10:55   Re: Speclist! [REQ]
Reply With Quote #2

Me too
__________________

natrios is offline
buzzace
Member
Join Date: Feb 2011
Old 02-22-2015 , 13:10   Re: Speclist! [REQ]
Reply With Quote #3

I think that's not possible. We'd have to see someone elses thought. Someone who actually know how to code xD cause i dont !
__________________


buzzace is offline
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 02-22-2015 , 14:23   Re: Speclist! [REQ]
Reply With Quote #4

In case anyone is wondering, this will NOT work on CS:GO until keyhinttext is implemented.

https://forums.alliedmods.net/showpo...0&postcount=45
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
zapparncsgo
Senior Member
Join Date: Dec 2014
Old 02-25-2015 , 17:57   Re: Speclist! [REQ]
Reply With Quote #5

I know it is possible kztimer has it!
zapparncsgo is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-25-2015 , 18:05   Re: Speclist! [REQ]
Reply With Quote #6

From KZTimer:

PHP Code:
/**
 * Prints white text to the right-center side of the screen
 * for all clients. Does not work in all games.
 * Line Breaks can be done with "\n".
 * 
 * @param format        Formatting rules.
 * @param ...            Variable number of format parameters.
 * @noreturn
 */
stock Client_PrintKeyHintTextToAll(const String:format[], any:...)
{
    
decl String:buffer[254];
    
    for (new 
client=1client <= MaxClientsclient++) {

        if (!
IsClientInGame(client)) {
            continue;
        }

        
SetGlobalTransTarget(client);
        
VFormat(buffersizeof(buffer), format2);
        
Client_PrintKeyHintText(clientbuffer);
    }
}

/**
 * Prints white text to the right-center side of the screen
 * for one client. Does not work in all games.
 * Line Breaks can be done with "\n".
 * 
 * @param client        Client Index.
 * @param format        Formatting rules.
 * @param ...            Variable number of format parameters.
 * @return                True on success, false if this usermessage doesn't exist.
 */
stock bool:Client_PrintKeyHintText(client, const String:format[], any:...)
{
    new 
Handle:userMessage StartMessageOne("KeyHintText"client);
    
    if (
userMessage == INVALID_HANDLE) {
        return 
false;
    }

    
decl String:buffer[254];

    
SetGlobalTransTarget(client);
    
VFormat(buffersizeof(buffer), format3);

    
BfWriteByte(userMessage1); 
    
BfWriteString(userMessagebuffer); 

    
EndMessage();
    
    return 
true;

BfWrite... doesn't work with CS:GO. If you have a screenshot of it working on CS:GO, that would be neat to see.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 02-25-2015 at 18:10.
TnTSCS is offline
zapparncsgo
Senior Member
Join Date: Dec 2014
Old 03-01-2015 , 18:36   Re: Speclist! [REQ]
Reply With Quote #7

maybe you need an include or something cause it works on csgo when using kztimer
zapparncsgo is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 03-02-2015 , 07:44   Re: Speclist! [REQ]
Reply With Quote #8

That code is from kztimer
__________________
View my Plugins | Donate
TnTSCS is offline
poel
Veteran Member
Join Date: Mar 2013
Old 03-03-2015 , 11:37   Re: Speclist! [REQ]
Reply With Quote #9

Quote:
Originally Posted by zapparncsgo View Post
I know it is possible kztimer has it!
Show use baby. (Screen)
poel is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 03-03-2015 , 12:29   Re: Speclist! [REQ]
Reply With Quote #10

If you modified your client side files, then it's possible, but a vanilla installation of the CS:GO Game does not have the required settings to display keyhinttext
__________________
View my Plugins | Donate
TnTSCS 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 23:54.


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