AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   FM_AddToFullPack problems (https://forums.alliedmods.net/showthread.php?t=216205)

.Dare Devil. 05-17-2013 23:49

FM_AddToFullPack problems
 
PHP Code:

public plugin_init() register_forward(FM_AddToFullPack"k_visible_eff"1)

public 
k_visible_eff(eseenthosthostflagsplayerpSet
{
    
set_es(esES_RenderFxk_waterfx[host])


Seems to not work : /
Is it impossible to do
one player see entity renderfx with 200
ohter 100
etc... ?

( After trying many times i removed all checks so thats whats left of it... )
And as always, thanks!

ConnorMcLeod 05-18-2013 06:45

Re: FM_AddToFullPack problems
 
code is ok

.Dare Devil. 05-19-2013 15:33

Re: FM_AddToFullPack problems
 
Is there other way to do this?

ConnorMcLeod 05-19-2013 17:19

Re: FM_AddToFullPack problems
 
The way you did is just fine.

Make sure no other plugin alter entity state.

.Dare Devil. 05-19-2013 18:21

Re: FM_AddToFullPack problems
 
Quote:

Originally Posted by ConnorMcLeod (Post 1954715)
The way you did is just fine.

Make sure no other plugin alter entity state.

There is no ohter plugins, only my plugin.
Thats really strange, i tested it and it get callback. Everything should work but its not...

ConnorMcLeod 05-20-2013 06:49

Re: FM_AddToFullPack problems
 
Also, if you only alter renderfx, there is chances that nothing is noticable, you may have to alter other render values.

.Dare Devil. 05-20-2013 07:15

Re: FM_AddToFullPack problems
 
Quote:

Originally Posted by ConnorMcLeod (Post 1954977)
Also, if you only alter renderfx, there is chances that nothing is noticable, you may have to alter other render values.

thanks, i'll try this.


All times are GMT -4. The time now is 16:27.

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