Jump to content

طلب كود المخخخخخفي كآإأمل !


AboS3od

Recommended Posts

---كلنت  
function buyinv() 
if ( source == b ) then--غير b الى اسم الزر  
triggerServerEvent("inv",getLocalPlayer()) 
end 
end 
addEventHandler("onClientGUIClick",getRootElement(),buyinv) 
---سيرفر  
function inv() 
    local money = getPlayerMoney(source) 
    if ( money >= 3000 ) then 
        takePlayerMoney(source,3000) 
        setElementAlpha(source,0) 
        setTimer(setElementAlpha,60000,1,source,255) 
    else 
        outputChatBox("You Don't Have Enough Money") 
    end 
end 
addEvent("inv",true) 
addEventHandler("inv",getRootElement(),inv) 

Link to comment
---كلنت  
function buyinv() 
if ( source == b ) then--غير b الى اسم الزر  
triggerServerEvent("inv",getLocalPlayer()) 
end 
end 
addEventHandler("onClientGUIClick",getRootElement(),buyinv) 
---سيرفر  
function inv() 
    local money = getPlayerMoney(source) 
    if ( money >= 3000 ) then 
        takePlayerMoney(source,3000) 
        setElementAlpha(source,0) 
        setTimer(setElementAlpha,60000,1,source,255) 
    else 
        outputChatBox("You Don't Have Enough Money") 
    end 
end 
addEvent("inv",true) 
addEventHandler("inv",getRootElement(),inv) 

الله يعطيك آلعافيهة جاآري التجربةة

Link to comment

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...