Connected with "SAMP 0.3d server" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Connected with "SAMP 0.3d server" (
/showthread.php?tid=309497)
Connected with "SAMP 0.3d server" -
Larry123 - 07.01.2012
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
AW: Connected with "SAMP 0.3d server" -
Drebin - 07.01.2012
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.
Re: Connected with "SAMP 0.3d server" -
Larry123 - 07.01.2012
When down what i do my login and kicking thing :P?