AddToFullPack exchange?
Hello,
My code is: Code:
/* Class generated by AMXX STUDIO */Code:
date: Sat Aug 29 13:11:25 2015 map: de_dust2Sorry, my english is weak... |
Re: AddToFullPack exchange?
Help please.
|
Re: AddToFullPack exchange?
Use it on spawn or whenever you like.
I'm not sure if set_user_rendering would work the same way. PHP Code:
|
Re: AddToFullPack exchange?
set_user_rendering works in the same way as fm_set_rendering, but it seems you cannot use it on non player entities(it does a check with CHECK_PLAYER which basically check if player is between 1 and MaxClients)
|
Re: AddToFullPack exchange?
I'm working with amxx plugin for the Call of Duty modification for CS 1.6 server and I have a question about one class.
The first class has invisibility and the second class can see that first guy. For now I'm using AddToFullPack function for the second guy to see the first oneinvisible player but it's really hard on the processor usage, it simply executes too many times... Is there any other function I could use for that kind of check with better optimalization, not so resource heavy? |
Re: AddToFullPack exchange?
I am not sure, but pev_groupinfo might help.
|
Re: AddToFullPack exchange?
seriously? using prethink like functions for setting the rendering of an entity ?
why dont you set the rendering of the entity when it is spawned? ( in the main plugin ) also, use the stock above for rendering |
Re: AddToFullPack exchange?
An example?
|
Re: AddToFullPack exchange?
set_user_rendering for player entities, fm_set_rendering for non-player entities.
|
Re: AddToFullPack exchange?
You dont understand at all the code above...
"The first class has invisibility and the second class can see that first guy." So the player has to see invisible player ( e.g. class Ninja ) or mine..... |
| All times are GMT -4. The time now is 22:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.