Raised This Month: $ Target: $400
 0% 

SPEC get_user_name HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ScrappeR
Senior Member
Join Date: Dec 2010
Old 01-09-2013 , 18:24   SPEC get_user_name HELP
Reply With Quote #1

[IMG]http://img11.**************/img11/6799/31201931.png[/IMG]


How to make in hud Player to see their names when I'm SPEC thnx all..

PHP Code:
public show_country(id)
{
  if (!(
get_cvar_num("amx_showcountry")))
  {
    return 
PLUGIN_CONTINUE
  
}

  new 
target read_data(2)
  new 
szName[32]
  
get_user_name(idszNamecharsmax(szName))

  if (
target != id && target != 0)
  {
    
set_hudmessage(0255255, -1.00.7406.06.00.50.1527)  //-1.0, 0.74, 0, 0.0, 1.0, 0.0, 1.0, 27 )
    
show_hudmessage(id,"%s ^nFrom: %s^nPlayed on RX Gaming Server"szNamecountry[target])
  }

  return 
PLUGIN_CONTINUE

__________________
ScrappeR is offline
 



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 13:44.


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