Advanced OnPlayerConnect -
AnonScripter - 22.05.2014
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.
Re: Advanced OnPlayerConnect -
Nathan_Taylor - 22.05.2014
Put the register/login dialog on a timer. So that it opens after 10 seconds. Which is the when the textdraws should be gone
Re: Advanced OnPlayerConnect -
AnonScripter - 22.05.2014
then it will send the player to RequestClass instead
Re: Advanced OnPlayerConnect -
EpicDutchie - 23.05.2014
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 ?
Re: Advanced OnPlayerConnect -
Ciandlah - 23.05.2014
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
Re: Advanced OnPlayerConnect -
AnonScripter - 23.05.2014
thanks all but not that what i want
Here we go: when you connect to any server the first message you get is this:
this message takes about 5 seconds till the 2nd message come and here it is:
when this message comes, it will take the player to the login/register system or request class.
what i want is to extend these 5 second and make it by 20 seconds before the 2nd message appears. I have server rules as textdraws, i want to show them in these 20 seconds then connect to the server.
Re: Advanced OnPlayerConnect -
biker122 - 23.05.2014
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.
Re: Advanced OnPlayerConnect -
AnonScripter - 23.05.2014
FIXED!!