Raised This Month: $ Target: $400
 0% 

How to get HLTV target


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 07-31-2013 , 07:58   How to get HLTV target
Reply With Quote #1

I have a big question...

How to take target of HLTV ?

I mean player(s) id..

P.S: I know that HLTV are record all players..


Sorry for my english
grs4 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-31-2013 , 12:16   Re: How to get HLTV target
Reply With Quote #2

Explain better, you need a userid of HLTV in server?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 07-31-2013 , 15:06   Re: How to get HLTV target
Reply With Quote #3

.... Is possible get hltv target ? Target - player's id
grs4 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-31-2013 , 16:02   Re: How to get HLTV target
Reply With Quote #4

Maybe


PHP Code:
new iPlayers[32],iNum,iPlayer;
get_players(iPlayers,iNum,"c");  // get players and skip bots

for(new i;iNum;i++)
{
      
iPlayer iPlayers[i];

      if(
is_user_hltv(iPlayer))
      {
            
/* Your Code Here  */
      
}

__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Old 07-31-2013, 17:37
grs4
This message has been deleted by grs4.
grs4
Senior Member
Join Date: Dec 2010
Location: Poland
Old 08-01-2013 , 06:22   Re: How to get HLTV target
Reply With Quote #6

OK, i have id HLTV , and now how to get the id of player which is watched by HLTV?
grs4 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 08-01-2013 , 07:29   Re: How to get HLTV target
Reply With Quote #7

What? You want to get userid out from server and only connected in hltv server?
if yes, its impossible because they users are out from HLDS.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
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 15:57.


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