Raised This Month: $ Target: $400
 0% 

FM_AddToFullPack player invisible (and SOLID) for certain player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joseph9
Junior Member
Join Date: Nov 2016
Location: Poland
Old 12-26-2021 , 13:24   Re: FM_AddToFullPack player invisible for certain player
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
So you want to show people who are in the same team to each other?
You can create a global players variable that holds player team id
Yes, I store players in teamOne and teamTwo that are sorted by frags and then I use it to make a pair.

Quote:
Originally Posted by CrazY. View Post
What is wrong with the code you provided?
You shouldn't do any loop or anything expensive in addToFullPack.
My goal is to make each player got his own opponent and the rest is non-solid; transparent for them.

I use SOLID_NOT to prevent colliding and set render mode to make them transparent then I use SOLID_SLIDEBOX to activate collision for that pair but it applies to everyone not for the pair like in render mode so everyone is stuck and able to kill everyone

So I've stuck here.
joseph9 is offline
 



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 11:29.


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