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

[TF2/ANY?]Projectile Camera


Post New Thread Reply   
 
Thread Tools Display Modes
crafting
Senior Member
Join Date: May 2014
Location: Somewhere on Earth
Old 02-13-2019 , 20:19   Re: [TF2/ANY?]Projectile Camera
Reply With Quote #11

Quote:
Originally Posted by TonyBaretta View Post
// 0 to m_hOwnerEntity, 1 to m_hThrower
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
detect_owner "0"

this with value to 1 do same error ?
That's what I have it set to. I was using all of the default convars.
crafting is offline
TonyBaretta
Senior Member
Join Date: Mar 2014
Location: nope.avi
Old 02-14-2019 , 06:06   Re: [TF2/ANY?]Projectile Camera
Reply With Quote #12

depend the type of projectile you are using .

int OwnerCheck(int iEntity){
int iOwner;
if(!CvarProjOwner.BoolValue){
iOwner = GetEntPropEnt(iEntity, Prop_Send, "m_hOwnerEntity"); <----------your error is here.....
}
if(CvarProjOwner.BoolValue){
iOwner = GetEntPropEnt(iEntity, Prop_Send, "m_hThrower");
}
return iOwner;
}

So if you turn it to 1 will fix the error.
__________________
TonyBaretta is offline
crafting
Senior Member
Join Date: May 2014
Location: Somewhere on Earth
Old 02-16-2019 , 11:24   Re: [TF2/ANY?]Projectile Camera
Reply With Quote #13

This is just a reminder. Will you be able to add another convar, so (besides setting what projectile to replace) people can set the class has access to this?
crafting is offline
daren adler
Member
Join Date: Aug 2017
Location: Iowa
Old 02-19-2019 , 22:54   Re: [TF2/ANY?]Projectile Camera
Reply With Quote #14

Any way to add this to my hl2dm home server? i would like it if it could be that when the player gets killed it show the way it came from,,like they do in csgo after you get killed.
__________________
GuitarSlayer
daren adler is offline
Send a message via MSN to daren adler
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 22:33.


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