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 The Ultimate Lua Tutorial! | MTA PHP SDK
Et-win Posted April 23, 2014 Posted April 23, 2014 onPlayerConnect https://wiki.multitheftauto.com/wiki/OnPlayerConnect ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
Woovie Posted April 24, 2014 Posted April 24, 2014 This isn't a resource, post in the scripting section next time. "The humble beet is the answer to all riddles." - Rolf
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