Stuck at cs_set_user_team
Hey guys, I made a plugin that sets users when they log in the game at a team that has less members. setting them works just fine but the problem is that after they're set(they're dead), and when next round starts they stand at their place, holding a bomb (even if they're CT...), and can only jump and move their mouse, but not move at all or switch weapons. why is that?
|
Re: Stuck at cs_set_user_team
Show your code.
|
Re: Stuck at cs_set_user_team
PHP Code:
|
Re: Stuck at cs_set_user_team
Code:
That should work. |
Re: Stuck at cs_set_user_team
Its just what I did just a shorter code, will it prevent the users that gets their team set from being stuck? thats the question.
|
Re: Stuck at cs_set_user_team
It didn't help, I'm still stuck, all what you did is post my code with a different algorythm, got an idea how to fix me being stuck when set in a team?
|
Re: Stuck at cs_set_user_team
Untested. There have been reports of get_players not returning data properly with particular combinations of flags. If you run into problems with this method then that may be the case. Let me know if you have problems.
PHP Code:
|
Re: Stuck at cs_set_user_team
But I really don't get you, how is your code different from the code of Honors? My problem is not that my code doesnt work, but that player gets stuck after being transferred SUCCESSFULLY to the team it should move to
|
Re: Stuck at cs_set_user_team
Sorry about that, I didn't read enough into your problem.
Not sure about this, but try calling this after setting team. PHP Code:
|
Re: Stuck at cs_set_user_team
It kind of fixed it, but still didn't.
I mean, It does let the player move now, but, you can't see the lower bar(with the HP, time, armor, ammo etc...), you don't have a weapon, you don't have a zoom, and you keep spawning at random places in the map, when your height is really really near to the ground. except that, you're alive, I want him to be dead, maybe you know about any function that kills a client? cuz 'kill' is not working at that specific moment in console. |
| All times are GMT -4. The time now is 01:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.