Connected with "SAMP 0.3d server"
#1

Hello, i have a problem, i want to do that, if player user is registred in database then it allows login box for him, if user not found in database then it kicks player.

My kicking and login box are down the onplayerconnect, and these codes are active before this, when server is user Connected with server, and so will come a problem, if i want to kick player before he is connected with server, the server is start restarting for player who`s kicked.

Then i want to ask from you. What can i do for that login box come after samp text: "Connected with YourServerName".

Thanks :P
Reply
#2

You can't do anything with the player before he connected to the server, so OnplayerConnect(); is the public in the script thats getting called at first when a player connects.
Means you can't make the login process any earlier.
Reply
#3

When down what i do my login and kicking thing :P?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)