Rank message fail :/
Hi
I tried use this: PHP Code:
Someone knows why? |
Re: Rank message fail :/
Did you try reading this when the player spawns? Or maybe you could try to get it a couple seconds after client_putinserver.
|
Re: Rank message fail :/
I dont want on spawn.
Btw maybe the problem is because on client_putinserver, it didnt set rank yet. Hum i go try set an task |
Re: Rank message fail :/
Try replacing the following:
PHP Code:
PHP Code:
|
Re: Rank message fail :/
If iam not wrong, putinserver is after authorized(not sure). Btw i tried both, not worked.
Now is working, i did made a event for team join, the only problem is that display more then one message for the same player :/ |
Re: Rank message fail :/
Can you paste your final code here?
|
Re: Rank message fail :/
Quote:
|
Re: Rank message fail :/
Quote:
PHP Code:
|
Re: Rank message fail :/
As far as I know, that join team will be called when the player is connected the first time as a spectator before choosing a team. If you want a dirty fix without checking if the team is T or CT, you can create a bool array of player count, make the index false at client connect and check if the index is false before displaying the message. Then you can display the message and set the index to true.
Actually forget my dirty suggestion. This should have all the info you need: https://forums.alliedmods.net/showpo...25&postcount=3 |
Re: Rank message fail :/
try
PHP Code:
|
| All times are GMT -4. The time now is 10:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.