Jump to content

toltips طلب معلومة عن


Recommended Posts

بعطيك الطريقة وانت كملها .. #

  
addEvent("onTake",true) 
addEventHandler("onTake",root,function (amount) 
takePlayerMoney(source, tonumber(amount)) 
end) 
  

مثال ع الكـود .. :roll:

  
addEventHandler("onClientGUIClick",root,function () 
if ( source == button ) then 
if ( getPlayerMoney() >= 1000 ) then 
triggerServerEvent("onTake",localPlayer,1000) 
else 
outputChatBox("* You Dont Have [1000] $",255,0,0,true) 
end 
end 
end) 
  

طبعا ذا مثال انت اللي عليك

تزيد عليه

الـ dff + txd

تحياتي لك .. :roll:

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