Jump to content

سؤال بسيط


Anis

Recommended Posts

Posted

السلام عليكم

ابي كيف افرق بين الكلنت والسيرفر عني عندما ابي احط اكواد كيف اعرف في اي مكان احط فيه الاكواد الكلنت او السيرفر

ارجوووو الرد :arrowleft::arrowleft::arrowleft:

جزائري

 

امازيغي 

 

شاوي

Posted (edited)
https://wiki.multitheftauto.com/wiki/Main_Page

هنا بيظهر على اليسار الفنكشات و الاحدثات حقت الكلينت والسيرفر وهيك

شكرا لك اخي بس كنت ابي افرق يعني متى اكتب الاكواد في الكلينت ومتى اكتب في السيرفر

Edited by Guest

جزائري

 

امازيغي 

 

شاوي

Posted

عليكم السلام

الكلينت يجي لون احمر مثل هذا الفنكشن

guiSetPosition 

والسيرفر يجيك لون برتقالي مثل هذا الفنكشن

getAccountPlayer 

والفنكشنات الي تقبل الكلينت والسيرفر تجيك بلون ازرق مثل هذا

setElementPosition 

والكلينت يكون للاعب فقط

والسيرفر يكون للسيرفر كليا

بالتوفيق

[ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة

https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني

Posted (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 by Guest

جزائري

 

امازيغي 

 

شاوي

Posted
بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل
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) 

ارجوووو الرد

قلت لك ان الازرق يقبل السيرفر والكلينت

يعني الازرق والاحمر مع بعض بدون البرتقالي

والازرق والبرتقالي مع بعض بدون الاحمر

فهمت

[ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة

https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني

Posted (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 by Guest

جزائري

 

امازيغي 

 

شاوي

Posted
بس اخي يوجد فكنش احمر وازرق وبرتقالي شو افعل
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) 

ارجوووو الرد

قلت لك ان الازرق يقبل السيرفر والكلينت

يعني الازرق والاحمر مع بعض بدون البرتقالي

والازرق والبرتقالي مع بعض بدون الاحمر

فهمت

يب فهمت شكرا اخي

العفو , حياك الله

:)

[ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة

https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني

Posted
عليكم السلام

الكلينت يجي لون احمر مثل هذا الفنكشن

guiSetPosition 

والسيرفر يجيك لون برتقالي مثل هذا الفنكشن

getAccountPlayer 

والفنكشنات الي تقبل الكلينت والسيرفر تجيك بلون ازرق مثل هذا

setElementPosition 

والكلينت يكون للاعب فقط

بس الفكنشات اللي مكتوب بازرق يعني اقدر احها في الكلينت او احطها في السيرفر واو احطها في الاثنين؟

والسيرفر يكون للسيرفر كليا

بالتوفيق

جزائري

 

امازيغي 

 

شاوي

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...