Anis Posted January 20, 2016 Share Posted January 20, 2016 السلام عليكم ابي كيف افرق بين الكلنت والسيرفر عني عندما ابي احط اكواد كيف اعرف في اي مكان احط فيه الاكواد الكلنت او السيرفر ارجوووو الرد Link to comment
#Soking Posted January 20, 2016 Share Posted January 20, 2016 https://wiki.multitheftauto.com/wiki/Main_Page هنا بيظهر على اليسار الفنكشات و الاحدثات حقت الكلينت والسيرفر وهيك Link to comment
Anis Posted January 20, 2016 Author Share Posted January 20, 2016 (edited) https://wiki.multitheftauto.com/wiki/Main_Pageهنا بيظهر على اليسار الفنكشات و الاحدثات حقت الكلينت والسيرفر وهيك شكرا لك اخي بس كنت ابي افرق يعني متى اكتب الاكواد في الكلينت ومتى اكتب في السيرفر Edited January 20, 2016 by Guest Link to comment
#Soking Posted January 20, 2016 Share Posted January 20, 2016 عفوا حياك الله اي سؤال تفضل Link to comment
Abdul KariM Posted January 20, 2016 Share Posted January 20, 2016 عليكم السلام الكلينت يجي لون احمر مثل هذا الفنكشن guiSetPosition والسيرفر يجيك لون برتقالي مثل هذا الفنكشن getAccountPlayer والفنكشنات الي تقبل الكلينت والسيرفر تجيك بلون ازرق مثل هذا setElementPosition والكلينت يكون للاعب فقط والسيرفر يكون للسيرفر كليا بالتوفيق Link to comment
Anis Posted January 20, 2016 Author Share Posted January 20, 2016 (edited) بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل function loginHandler(username,password) -- check that the username and password are correct if username == "user" and password == "apple" then -- the player has successfully logged in, so spawn them if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else -- if the username or password are not correct, output a message to the player outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) ارجوووو الرد Edited January 20, 2016 by Guest Link to comment
Abdul KariM Posted January 20, 2016 Share Posted January 20, 2016 بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل function loginHandler(username,password) -- check that the username and password are correct if username == "user" and password == "apple" then -- the player has successfully logged in, so spawn them if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else -- if the username or password are not correct, output a message to the player outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) ارجوووو الرد قلت لك ان الازرق يقبل السيرفر والكلينت يعني الازرق والاحمر مع بعض بدون البرتقالي والازرق والبرتقالي مع بعض بدون الاحمر فهمت Link to comment
Anis Posted January 20, 2016 Author Share Posted January 20, 2016 (edited) بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل function loginHandler(username,password) -- check that the username and password are correct if username == "user" and password == "apple" then -- the player has successfully logged in, so spawn them if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else -- if the username or password are not correct, output a message to the player outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) ارجوووو الرد قلت لك ان الازرق يقبل السيرفر والكلينت يعني الازرق والاحمر مع بعض بدون البرتقالي والازرق والبرتقالي مع بعض بدون الاحمر فهمت يب فهمت شكرا اخي Edited January 20, 2016 by Guest Link to comment
a7zan Posted January 20, 2016 Share Posted January 20, 2016 ما اشوف احمر الا اذا تقصد بين الـ "" ذذ هذا شيء طبيعي Link to comment
Abdul KariM Posted January 20, 2016 Share Posted January 20, 2016 بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل function loginHandler(username,password) -- check that the username and password are correct if username == "user" and password == "apple" then -- the player has successfully logged in, so spawn them if (client) then spawnPlayer(client, 1959.55, -1714.46, 10) fadeCamera(client, true) setCameraTarget(client, client) outputChatBox("Welcome to My Server.", client) end else -- if the username or password are not correct, output a message to the player outputChatBox("Invalid username and password. Please re-connect and try again.",client) end end addEvent("submitLogin",true) addEventHandler("submitLogin",root,loginHandler) ارجوووو الرد قلت لك ان الازرق يقبل السيرفر والكلينت يعني الازرق والاحمر مع بعض بدون البرتقالي والازرق والبرتقالي مع بعض بدون الاحمر فهمت يب فهمت شكرا اخي العفو , حياك الله Link to comment
Anis Posted January 21, 2016 Author Share Posted January 21, 2016 عليكم السلامالكلينت يجي لون احمر مثل هذا الفنكشن guiSetPosition والسيرفر يجيك لون برتقالي مثل هذا الفنكشن getAccountPlayer والفنكشنات الي تقبل الكلينت والسيرفر تجيك بلون ازرق مثل هذا setElementPosition والكلينت يكون للاعب فقط بس الفكنشات اللي مكتوب بازرق يعني اقدر احها في الكلينت او احطها في السيرفر واو احطها في الاثنين؟ والسيرفر يكون للسيرفر كليا بالتوفيق 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