Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
hey guys! i have the server rules as textdraws, can i show them on "OnPlayerConnect" and keep it for about 10 seconds then go to the Register/Login System ?
i tried this but didn't work, it sends the player to the register/login system directly with the server rules show on.
Posts: 257
Threads: 48
Joined: Jul 2010
Reputation:
0
Put the register/login dialog on a timer. So that it opens after 10 seconds. Which is the when the textdraws should be gone
Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
then it will send the player to RequestClass instead
Posts: 20
Threads: 2
Joined: Apr 2014
Reputation:
0
When the player connects set a timer for the player with 10 seconds, show the TextDraws when the player connects and hide them after 10 seconds.
While the rules are shown, make OnPlayerRequestClass return 0, I think ?
Posts: 248
Threads: 23
Joined: Mar 2013
Reputation:
0
I dont have time to code it for you but here are the steps to take which will hopefully help you.
1. Show the ZTextdraws with onplayerconnect
2. Place SetTimerEx under OnPlayerRequestClass for 10 secs
3. On the public of that timer, destroy the textdraws and load the login / registration
Hopefully this has helped you
Posts: 766
Threads: 66
Joined: Feb 2014
Reputation:
0
It's just a message which notifies user that they have successfully connected to the server..
I don't think that you can delay it.