[Help] with task and plaer enter world
Quote:
This task shouldn't run when player in spectator or not allowed of any team, only after when entered in world or new round. |
Re: [Help] with task and plaer enter world
client_putinserver(id) is called when they enter the server (when you seee the MOTD). You probably need to hook Ham_Spawn and set the task then.
|
Re: [Help] with task and plaer enter world
So you want wait_entergame() to only be called when a player 1) first joins server 2) has selected a team 3) is spawned into the game? If this is not correct, please try to explain what you want more clearly.
Also, your flags check is incorrect. When you want to check a combination of flags you must OR them and then check if the resulting flags is what you're looking for. PHP Code:
|
Re: [Help] with task and plaer enter world
ippel
Show task code. Maybe you unintentively terminating the task itself. |
Re: [Help] with task and plaer enter world
It was likely his flag checking to blame. I tested using his method and my corrected method and the corrected method successfully called the task function while his did not. There could be underlying problems in his task function as well, though.
|
Re: [Help] with task and plaer enter world
Why are you checking FL_ONGROUND with the admin flags?
That should be checked with pev_flags (or EV_INT_flags). |
| All times are GMT -4. The time now is 04:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.