Jump to content

مشكلة بكود المخفي


Recommended Posts

Posted

ياشباب ركبت كود المخفي ولا اشتغل هاذا الكود

كلنت

function buyinvisible() 
if ( source == GUIEditor_Button[22] ) then 
triggerServerEvent("invisible",getLocalPlayer()) 
end 
end 
addEventHandler("onClientGUIClick",getRootElement(),buyinvisible) 

سيرفر

function invisible(Player) 
        if getPlayerMoney(Player) >= 1500 then 
            if getElementAlpha( Player ) >= 250 then 
                takePlayerMoney(Player,1500) 
        setElementAlpha ( Player, 0 ) 
            end 
        end 
    end 
    addCommandHandler ( "invisible", invisible) 

Posted
ياشباب ركبت كود المخفي ولا اشتغل هاذا الكود

كلنت

function buyinvisible() 
if ( source == GUIEditor_Button[22] ) then 
triggerServerEvent("invisible",getLocalPlayer()) 
end 
end 
addEventHandler("onClientGUIClick",getRootElement(),buyinvisible) 

سيرفر

function invisible(Player) 
        if getPlayerMoney(Player) >= 1500 then 
            if getElementAlpha( Player ) >= 250 then 
                takePlayerMoney(Player,1500) 
        setElementAlpha ( Player, 0 ) 
            end 
        end 
    end 
    addCommandHandler ( "invisible", invisible) 

استبدل الكوماند بايفنت

Posted
مادري وش تقول ماني فاهمك

غير هذا

addCommandHandler ( "invisible", invisible) 

إلى

addEvent("invisible",true) 
addEventHandler("invisible", root, invisible) 

source إلى Player وغير

الي بأول سطر Player و أحذف

Posted

كذا

function invisible() 
        if getPlayerMoney(source) >= 1500 then 
            if getElementAlpha( source) >= 250 then 
                takePlayerMoney(source,1500) 
        setElementAlpha ( source, 0 ) 
            end 
        end 
    end 
    addEvent("invisible",true) 
addEventHandler("invisible", root, invisible) 

صح

Posted
اوكي

بس والله مافحالي اسك اللعبه وادخل مره ثاني لكن باجرب

:? تصك اللعبه؟

Posted
هههههههههههههه

لالا ياخي مو قصدي كذا

انا قاعد اللعب بسيرفر مافحالي اخرج واجربه ض11

يعني تبينا نجرب عنك مثلاً؟

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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