Raised This Month: $18 Target: $400
 4% 

Solved Hide a player from another player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devilExE__
Junior Member
Join Date: Jul 2021
Location: Romania, Cluj
Old 07-06-2021 , 10:33   Hide a player from another player
Reply With Quote #1

I want a player to be invisible from another player (kinda like Xalus's dimension mod).
I can't really find the implementation of this in Xalus's dimension mod, and would like to know how exactly I could do this.

Last edited by devilExE__; 07-07-2021 at 05:53.
devilExE__ is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 07-06-2021 , 12:13   Re: Hide a player from another player
Reply With Quote #2

http://www.amxmodx.org/api/fun/set_user_rendering

Code:
set_user_rendering(id,kRenderFxNone ,0,0,0,kRenderTransAlpha,0)
jimaway is offline
devilExE__
Junior Member
Join Date: Jul 2021
Location: Romania, Cluj
Old 07-06-2021 , 12:17   Re: Hide a player from another player
Reply With Quote #3

Quote:
Originally Posted by jimaway View Post
http://www.amxmodx.org/api/fun/set_user_rendering

Code:
set_user_rendering(id,kRenderFxNone ,0,0,0,kRenderTransAlpha,0)
That will make the player invisible to everyone. I want to be visible to a specific player, but invisible to the others.

Also, could you link me the source of the dimension mod ? I can only find it's implementation in the AMXX Minigames mod.

Last edited by devilExE__; 07-06-2021 at 12:23.
devilExE__ is offline
raizo11
Senior Member
Join Date: Dec 2013
Old 07-06-2021 , 14:58   Re: Hide a player from another player
Reply With Quote #4

That works in sourcemod...in amxmodx it's impossible!
__________________
raizo11 is offline
Send a message via ICQ to raizo11 Send a message via AIM to raizo11 Send a message via MSN to raizo11 Send a message via Yahoo to raizo11 Send a message via Skype™ to raizo11
devilExE__
Junior Member
Join Date: Jul 2021
Location: Romania, Cluj
Old 07-06-2021 , 15:22   Re: Hide a player from another player
Reply With Quote #5

Quote:
Originally Posted by raizo11 View Post
That works in sourcemod...in amxmodx it's impossible!
It is possible. This plugin uses a system that I would like to implement myself but I can't really manage the invisibility thing.
devilExE__ is offline
Xpym4uk76
Junior Member
Join Date: Feb 2019
Location: Ukraine
Old 07-06-2021 , 16:59   Re: Hide a player from another player
Reply With Quote #6

Maybe that plugin can help you, there is invisibility when you in player and that see only you.
Xpym4uk76 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-07-2021 , 01:06   Re: Hide a player from another player
Reply With Quote #7

Look into FM_AddToFullPack.
__________________
HamletEagle is online now
devilExE__
Junior Member
Join Date: Jul 2021
Location: Romania, Cluj
Old 07-07-2021 , 05:49   Re: Hide a player from another player
Reply With Quote #8

+rep for Xpym4uk76 and HamletEagle. For anyone seeing this, an application of FM_AddToFullPack that helped me can be found here.
devilExE__ is offline
Reply


Thread Tools
Display Modes

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 10:15.


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