nony Posted November 8, 2012 Share Posted November 8, 2012 السلام عليكم ورحمه الله وبركاته يا شباب وش الخطأ في الكود ذا addEvent("Out", true) addEventHandler("Out",getRootElement(), function () account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Not Logged in !", player, 255, 0, 0 ) end end ) Link to comment
MR.S3D Posted November 8, 2012 Share Posted November 8, 2012 \ السلام عليكم ورحمه الله وبركاتهيا شباب وش الخطأ في الكود ذا addEvent("Out", true) addEventHandler("Out",getRootElement(), function () account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Not Logged in !", player, 255, 0, 0 ) end end ) addEvent("Out", true) addEventHandler("Out",getRootElement(), function ( player, account , ...) account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Are Not Logged in !", player, 255, 0, 0 ) end end ) Link to comment
Mr.T9 Posted November 8, 2012 Share Posted November 8, 2012 جرب هذا addEvent("Out", true) addEventHandler("Out",getRootElement(), function ( player, account , ...) account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Not Logged in !", player, 255, 0, 0 ) end end ) Link to comment
MR.S3D Posted November 8, 2012 Share Posted November 8, 2012 جرب هذا addEvent("Out", true) addEventHandler("Out",getRootElement(), function ( player, account , ...) account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Not Logged in !", player, 255, 0, 0 ) end end ) خخخخخخ تكرر حقي Link to comment
Mr.T9 Posted November 8, 2012 Share Posted November 8, 2012 جرب هذا addEvent("Out", true) addEventHandler("Out",getRootElement(), function ( player, account , ...) account = getPlayerAccount ( player ) if ( not isGuestAccount ( account ) ) then logOut ( player ) else outputChatBox ( "You Not Logged in !", player, 255, 0, 0 ) end end ) خخخخخخ تكرر حقي خخخ انا رديت قبل لا اشوف ردك ومدري من وين طلع ردك شوف وقت ردي Link to comment
3NAD Posted November 8, 2012 Share Posted November 8, 2012 function ( player, account , ...) -- ?? اطرح التريقر اللي بالكلنت Link to comment
MR.S3D Posted November 8, 2012 Share Posted November 8, 2012 function ( player, account , ...) -- ?? اطرح التريقر اللي بالكلنت triggerServerEvent ( "Out", getRootElement(), getLocalPlayer(), guiGetText(user), guiGetText(pass) ) Link to comment
3NAD Posted November 8, 2012 Share Posted November 8, 2012 -- Client Side triggerServerEvent ( "Out", localPlayer ) -- Server Side addEvent ( "Out", true ) addEventHandler ( "Out", root, function ( ) if not isGuestAccount ( getPlayerAccount ( source ) ) then logOut ( source ) outputChatBox ( "* You Have Been Logged Out !", source, 255, 255, 0, true ) else outputChatBox ( "* You Not Logged in !", source, 255, 0, 0, true ) end end ) Link to comment
nony Posted November 8, 2012 Author Share Posted November 8, 2012 function ( player, account , ...) -- ?? اطرح التريقر اللي بالكلنت function onGuiClick (button, state, absoluteX, absoluteY) if (source == GUIEditor_Button[6]) then triggerServerEvent ( "onlogin", getRootElement(), getLocalPlayer(), guiGetText(GUIEditor_Edit[1]), guiGetText(GUIEditor_Edit[2]) ) elseif (source == GUIEditor_Button[8]) then triggerServerEvent ( "onreg", getRootElement(), getLocalPlayer(), guiGetText(GUIEditor_Edit[1]), guiGetText(GUIEditor_Edit[2]) ) elseif (source == GUIEditor_Button[7]) then triggerServerEvent("onOut",getLocalPlayer()) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) Link to comment
nony Posted November 8, 2012 Author Share Posted November 8, 2012 يسلمووو عناد وكل من رد على الموضوع تم الافاده شكرا Link to comment
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