Jump to content

طلب


tourra

Recommended Posts

addEvent('Vehicle',true) 
addEventHandler('Vehicle', root, 
    function () 
       if (getPlayerMoney(source) >= 2500) then 
       takePlayerMoney (source,2500) 
      local x, y, z = getElementPosition ( Player ) 
      createVehicle ( 432, x, y, z + 10 ) 
       outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true) 
       else 
       outputChatBox("* you Don't have enough Money !",source,255,0,0,true) 
       end 
    end 
) 

Link to comment
    addEvent('Vehicle',true) 
    addEventHandler('Vehicle', root, 
        function () 
           if (getPlayerMoney(source) >= سعر السيارة) then 
           takePlayerMoney (source,سعر السيارة) 
          local x, y, z = getElementPosition ( Player ) 
          createVehicle ( هنا رقم السيارة, x, y, z + 10 ) 
           outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true) 
           else 
           outputChatBox("* you Don't have enough Money !",source,255,0,0,true) 
           end 
        end 
    ) 

Link to comment
addEvent('Vehicle',true) 
addEventHandler('Vehicle', root, 
    function () 
       if (getPlayerMoney(source) >= 2500) then--2500 السعر حق السياره  
       takePlayerMoney (source,2500)--2500 السعر 
      local x, y, z = getElementPosition ( Player )--ألأحداثيات 
      createVehicle ( 432, x, y, z + 10 )-- غير 432 وحط ألأي دي تبع السياره  
--x, y, z ألأحداثيات 
       outputChatBox("* #0099ccSuccessfully bought Vehicle #000000[ #ff0000-$2500 #000000]#00ff00 !",source,0,255,0,true)--اذا شراها 
       else--آخر 
       outputChatBox("* you Don't have enough Money !",source,255,0,0,true)--لما مايكون عنده فلوس 
       end--نهاية الوضيفه 
    end--if نهاية 
)--اغلاق القوس 

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