Raised This Month: $ Target: $400
 0% 

Invisible Spectator, Help


Post New Thread Reply   
 
Thread Tools Display Modes
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-22-2013 , 13:32   Re: Invisible Spectator, Help
Reply With Quote #21

Try again with this

PHP Code:
new hClientWeapon GetEntPropEnt(clientProp_Send"m_hActiveWeapon");
if ( 
hClientWeapon != -)
{
    
SetEntityRenderMode(hClientWeaponRENDER_TRANSCOLOR);
    
SetEntityRenderColor(hClientWeapon255255255255);

__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-22-2013 , 14:12   Re: Invisible Spectator, Help
Reply With Quote #22

And this is because you use it on spec team. Try in a other team pls.
__________________
Want to check my plugins ?
Arkarr is offline
Ico
Member
Join Date: Jun 2013
Old 11-22-2013 , 18:14   Re: Invisible Spectator, Help
Reply With Quote #23

alright, here is what i found:

i used:
1. sm_stealth, while in spec, 'player left', no invisibility
2. sm_stealth, while alive and in team, 'player left', no invisibility
3. sm_stealth, while dead and in team, 'player left', no invisibility


sm error log:

L 11/22/2013 - 11:58:21: SourceMod error session started
L 11/22/2013 - 11:58:21: Info (map "de_dust") (file "errors_20131122.log")
L 11/22/2013 - 11:58:21: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/22/2013 - 11:58:21: [SM] Displaying call stack trace for plugin "AdminStealth.smx":
L 11/22/2013 - 11:58:21: [SM] [0] Line 311, /groups/sourcemod/compiler-1.5/include/entity_prop_stocks.inc::SetEntityRenderMode()
L 11/22/2013 - 11:58:21: [SM] [1] Line 64, /home/groups/alliedmodders/forums/files/1/9/8/4/3/9/127855.attach::Cmd_Stealth()
L 11/22/2013 - 13:05:17: Error log file session closed.
L 11/22/2013 - 15:03:43: SourceMod error session started
L 11/22/2013 - 15:03:43: Info (map "de_PasDeQuartier") (file "errors_20131122.log")
L 11/22/2013 - 15:03:43: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/22/2013 - 15:03:43: [SM] Displaying call stack trace for plugin "AdminStealth.smx":
L 11/22/2013 - 15:03:43: [SM] [0] Line 311, /groups/sourcemod/compiler-1.5/include/entity_prop_stocks.inc::SetEntityRenderMode()
L 11/22/2013 - 15:03:43: [SM] [1] Line 64, /home/groups/alliedmodders/forums/files/1/9/8/4/3/9/127855.attach::Cmd_Stealth()
L 11/22/2013 - 15:03:53: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/22/2013 - 15:03:53: [SM] Displaying call stack trace for plugin "AdminStealth.smx":
L 11/22/2013 - 15:03:53: [SM] [0] Line 311, /groups/sourcemod/compiler-1.5/include/entity_prop_stocks.inc::SetEntityRenderMode()
L 11/22/2013 - 15:03:53: [SM] [1] Line 64, /home/groups/alliedmodders/forums/files/1/9/8/4/3/9/127855.attach::Cmd_Stealth()
L 11/22/2013 - 15:03:57: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
L 11/22/2013 - 15:03:57: [SM] Displaying call stack trace for plugin "AdminStealth.smx":
L 11/22/2013 - 15:03:57: [SM] [0] Line 311, /groups/sourcemod/compiler-1.5/include/entity_prop_stocks.inc::SetEntityRenderMode()
L 11/22/2013 - 15:03:57: [SM] [1] Line 64, /home/groups/alliedmodders/forums/files/1/9/8/4/3/9/127855.attach::Cmd_Stealth()
L 11/22/2013 - 15:04:10: [SM] Native "SetEntProp" reported: Entity -1 (-1) is invalid
Ico is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 11-22-2013 , 18:35   Re: Invisible Spectator, Help
Reply With Quote #24

arkarr: Did you even like...look to see what my plugin did first? Try it on a server before you mangle something together and call it a replacement.
necavi is offline
Ico
Member
Join Date: Jun 2013
Old 11-22-2013 , 21:32   Re: Invisible Spectator, Help
Reply With Quote #25

ohhhhhh, i hope that didn't scare him away... i need any help i can get, for this.
Ico is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 11-22-2013 , 22:16   Re: Invisible Spectator, Help
Reply With Quote #26

In the event that that actually scared him away, you won't really have lost much, considering the code he posted and there'd be a higher chance of me stepping in and just fixing it myself.
necavi is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-23-2013 , 02:35   Re: Invisible Spectator, Help
Reply With Quote #27

Quote:
Originally Posted by necavi View Post
In the event that that actually scared him away, you won't really have lost much, considering the code he posted and there'd be a higher chance of me stepping in and just fixing it myself.
You can do it. And the error says that the player who type the command is Invalid (spec team, console, disconnect, dead, ...)
__________________
Want to check my plugins ?

Last edited by Arkarr; 11-23-2013 at 02:36.
Arkarr is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 11-23-2013 , 03:42   Re: Invisible Spectator, Help
Reply With Quote #28

Quote:
Originally Posted by Ico View Post
ohhhhhh, i hope that didn't scare him away... i need any help i can get, for this.
Lolx..
I give it a try if i have time then..
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.
GsiX is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 11-23-2013 , 04:28   Re: Invisible Spectator, Help
Reply With Quote #29

I'm updating it and bringing in a few more improvements.
necavi is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 11-23-2013 , 09:14   Re: Invisible Spectator, Help
Reply With Quote #30

Updated the plugin
necavi 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 21:21.


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