THASMOG Posted April 23, 2014 Posted April 23, 2014 Hi, how to check if player is connected to servre before performing some function. PLayers use lagg switch in my server. Is there any way to send check from client side to server and see if he is actually connected. If no then function returns. I hope u understand.
xXMADEXx Posted April 23, 2014 Posted April 23, 2014 you can use something like: if ( getPlayerFromName ( "xXMADEXx" ) ) then -- Code end
Et-win Posted April 23, 2014 Posted April 23, 2014 onPlayerConnect https://wiki.multitheftauto.com/wiki/OnPlayerConnect
Woovie Posted April 24, 2014 Posted April 24, 2014 This isn't a resource, post in the scripting section next time.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now