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

How can I?


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-11-2019 , 03:34   Re: How can I?
Reply With Quote #11

TE_PLAYERATTACHMENT needs a Sprite... I think Admin spec esp does that (convert origin to HUD position), but there are a lot of formats and changes... I might got something from there then...
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 01-11-2019 , 11:39   Re: How can I?
Reply With Quote #12

Admin Spec ESP https://forums.alliedmods.net/showthread.php?t=23691 does this:
PHP Code:
public make_TE_BEAMPOINTS(id,color,Float:Vec1[3],Float:Vec2[3],width,target_team,brightness){
    
message_begin(MSG_ONE_UNRELIABLE ,SVC_TEMPENTITY,{0,0,0},id//message begin
    
write_byte(0)
    
write_coord(floatround(Vec1[0])) // start position
    
write_coord(floatround(Vec1[1]))
    
write_coord(floatround(Vec1[2]))
    
write_coord(floatround(Vec2[0])) // end position
    
write_coord(floatround(Vec2[1]))
    
write_coord(floatround(Vec2[2]))
    
write_short(laser// sprite index
    
write_byte(3// starting frame
    
write_byte(0// frame rate in 0.1's
    
write_byte(floatround(get_cvar_float("esp_timer")*10)) // life in 0.1's
    
write_byte(width// line width in 0.1's
    
write_byte(0// noise amplitude in 0.01's
    
write_byte(esp_colors[color][0])
    
write_byte(esp_colors[color][1])
    
write_byte(esp_colors[color][2])
    
write_byte(brightness// brightness)
    
write_byte(0// scroll speed in 0.1's
    
message_end()

when it makes that green box over the players.
__________________
My English is A0
E1_531G is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 01-11-2019 , 13:24   Re: How can I?
Reply With Quote #13

oh yes, i forgot that esp is using hud message with player informations
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-11-2019 , 17:18   Re: How can I?
Reply With Quote #14

Quote:
Originally Posted by E1_531G View Post
Admin Spec ESP https://forums.alliedmods.net/showthread.php?t=23691 does this:
PHP Code:
public make_TE_BEAMPOINTS(id,color,Float:Vec1[3],Float:Vec2[3],width,target_team,brightness){
    
message_begin(MSG_ONE_UNRELIABLE ,SVC_TEMPENTITY,{0,0,0},id//message begin
    
write_byte(0)
    
write_coord(floatround(Vec1[0])) // start position
    
write_coord(floatround(Vec1[1]))
    
write_coord(floatround(Vec1[2]))
    
write_coord(floatround(Vec2[0])) // end position
    
write_coord(floatround(Vec2[1]))
    
write_coord(floatround(Vec2[2]))
    
write_short(laser// sprite index
    
write_byte(3// starting frame
    
write_byte(0// frame rate in 0.1's
    
write_byte(floatround(get_cvar_float("esp_timer")*10)) // life in 0.1's
    
write_byte(width// line width in 0.1's
    
write_byte(0// noise amplitude in 0.01's
    
write_byte(esp_colors[color][0])
    
write_byte(esp_colors[color][1])
    
write_byte(esp_colors[color][2])
    
write_byte(brightness// brightness)
    
write_byte(0// scroll speed in 0.1's
    
message_end()

when it makes that green box over the players.
That's a sprite.
If you check the whole code, you'll be able to see some hud messages as well.

Quote:
Originally Posted by JocAnis View Post
oh yes, i forgot that esp is using hud message with player informations
Exactly, that's exactly what I'm trying to do.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 01:15.


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