AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   User Rendering Help (https://forums.alliedmods.net/showthread.php?t=153158)

bibu 03-19-2011 14:46

User Rendering Help
 
I am setting on some situation this rendering:

- set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAdd, 5)

On spawn, I want to show him normal again. I already tried these ways:

PHP Code:

                    //set_user_rendering(id, _, 0, 0, 0, _, 0)
                    //set_user_rendering(id)
                    
set_user_rendering(idkRenderFxGlowShell000kRenderNormal255

Tried these ways, no one of them works.

JocAnis 03-19-2011 14:47

Re: User Rendering Help
 
for me
PHP Code:

set_user_renderingid 

works fine for normal glow.

ConnorMcLeod 03-19-2011 15:00

Re: User Rendering Help
 
set_user_rendering(id, _, 0, 0, 0, _, 0)

is more correct, but both ( set_user_rendering(id) ) are ok.

bibu 03-19-2011 15:36

Re: User Rendering Help
 
Hmm maybe it's cause of the bot, will test it online and report back.

ConnorMcLeod 03-19-2011 17:56

Re: User Rendering Help
 
If you use HAM with CZ bot then you have to do the trick to register bots.

bibu 03-19-2011 19:15

Re: User Rendering Help
 
I was testing it with Potti.

ConnorMcLeod 03-20-2011 05:31

Re: User Rendering Help
 
Is Potti a "player" ?

bibu 03-20-2011 06:07

Re: User Rendering Help
 
Potti is a plugins name. ( http://forums.alliedmods.net/showthread.php?p=255078 )
I don't know if it is act like a CZ Bot.

fysiks 03-20-2011 15:01

Re: User Rendering Help
 
Quote:

Originally Posted by bibu (Post 1436330)
Potti is a plugins name. ( http://forums.alliedmods.net/showthread.php?p=255078 )
I don't know if it is act like a CZ Bot.

He is asking if the entities that that plugin makes have the classname "player".


All times are GMT -4. The time now is 14:32.

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