AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Aim info help (https://forums.alliedmods.net/showthread.php?t=251848)

prost1 11-20-2014 18:07

Aim info help
 
Hi guys!
How do here text info under crosshair?
Help pls :shock:

PHP Code:

public msgStatusValue(msgiddestid)
{
 new 
flagvalue
 flag 
get_msg_arg_int(1)
 
value get_msg_arg_int(2)
 
 if (!
value)
  return 
PLUGIN_CONTINUE
 
 
if (flag == 2)
 { 
  new 
text[64]
  if (
is_user_connected(id))
  {
   
formatex(textcharsmax(text), "1 %%p2 [HP: %d] [Arm: %d] [Lvl: %d] [%d $]"pev(valuepev_health), pev(valuepev_armorvalue), zp_get_user_level(value), zp_cs_get_user_money(value))
  }
  
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("StatusText"), _id)
  
write_byte(0)
  
write_string(text)
  
message_end()
  
 }
 
 return 
PLUGIN_CONTINUE 



ghost95v 11-20-2014 18:36

Re: Aim info help
 
wich Mod your'e using ?

prost1 11-21-2014 05:00

Re: Aim info help
 
Quote:

Originally Posted by ghost95v (Post 2226504)
wich Mod your'e using ?

Zombie Plague 4.3

prost1 11-21-2014 05:01

Re: Aim info help
 
I want that show ino under crosshair only


All times are GMT -4. The time now is 17:42.

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