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

AddToFullPack in SourceMod?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sgtbane
Member
Join Date: Feb 2006
Old 11-01-2012 , 08:50   AddToFullPack in SourceMod?
Reply With Quote #1

Just wondering if there is an equivalent to AMXModX's AddToFullPack event in SourceMod.

If not, is there another way to make an entity invisible and passable to only specific players?.
__________________
[Add|Community]

~SgtBane

Last edited by sgtbane; 11-01-2012 at 09:40.
sgtbane is offline
Send a message via MSN to sgtbane
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-01-2012 , 09:11   Re: AddToFullPack in SourceMod?
Reply With Quote #2

SDKHooks has a forward for SetTransmit.
__________________
asherkin is offline
sgtbane
Member
Join Date: Feb 2006
Old 11-01-2012 , 09:38   Re: AddToFullPack in SourceMod?
Reply With Quote #3

Thanks, that seems to be just what im looking for
Reading through the thread it looks like its used to make certian players ignore specific entities and thats exactly what im looking for. However does that mean it will ignore collisions also? or that would probably all be taken care of by the server.
I'm going to fool around with it a little.
__________________
[Add|Community]

~SgtBane
sgtbane is offline
Send a message via MSN to sgtbane
safetymoose
Senior Member
Join Date: Feb 2015
Old 05-21-2020 , 15:53   Re: AddToFullPack in SourceMod?
Reply With Quote #4

https://github.com/alliedmodders/amx....inc#L622-L715

AMXX's AddToFullPack gives us great control over entities using these offsets. Is there a way to replicate it's functionality in SourceMod?

Last edited by safetymoose; 05-21-2020 at 15:58.
safetymoose is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-21-2020 , 17:09   Re: AddToFullPack in SourceMod?
Reply With Quote #5

The Source Engine has a very different approach to entity data.

There's some background info on the wiki: https://wiki.alliedmods.net/Entity_Properties
__________________
asherkin 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 10:29.


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