Raised This Month: $ Target: $400
 0% 

AddFullToPack entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-03-2012 , 16:46   Re: AddFullToPack entity
Reply With Quote #1

Quote:
Originally Posted by Exolent[jNr] View Post
AddToFullPack is not for players only. You can hide entities from players with it.
Hmm lol,
Didn't know that..

I touge with the tests I did it was always Players only,
but thanks for the answer.

I will test out later!
__________________
Retired.
Xalus is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-03-2012 , 17:12   Re: AddFullToPack entity
Reply With Quote #2

There is a parameter that is passed which says whether it is checking players or other entities.

Code:
public FwdAddToFullPack(es, e, ent, host, hostFlags, player, pSet) {     if(player) {         // ent is a player     } else {         // ent is some other entity     } }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 00:22.


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