Jump to content

طلب


nony

Recommended Posts

السلام عليكم

يا شباب ابي اكواد من الويكي لـــ

1-الدم الطويل الي في الشوب الي يخلي دمك %200

2-اليزر

3-السموكي = الدخان الي في الشوب

وخلو الباقي علي ^^ :mrgreen:

Link to comment
1- (200) الدم الطويل

https://wiki.multitheftauto.com/wiki/SetPedStat

2- :D (الليزر (يمكن بعد 3-5 سنوات تعرف تسويه

https://wiki.multitheftauto.com/wiki/DxDrawLine3D

3- الدخان

https://wiki.multitheftauto.com/wiki/CreateObject

2780 الآيد حق الدخان

الدم

كلنت

addEventHandler ("onClientGUIClick", getRootElement(), 
function() 
if ( source ==  shop_4) then  
triggerServerEvent("sss",getLocalPlayer())  
  
end  
  
end  
) 

سيرفر

  
addEvent("sss",true) 
addEventHandler("sss", root, 
function changeBodyStrength(thePlayer, commandName) 
local PlayerMoney = getPlayerMoney(source) 
 if ( PlayerMoney >= 1500) then  
    takePlayerMoney(source,1500) 
        if setPedStat(thePlayer, 23, 999) then 
        outputChatBox ( "has bought", getRootElement(), 255, 0, 0, true ) 
    else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
end  
  
end  
  
addCommandHandler("beefcake", changeBodyStrength) 
  
  

واليزر

كيف اخليه في السلاح؟

بذا؟

if ( weapon ==  31) then 
 createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) 
 end 

الدخان خلاص سويته تمام %100

Link to comment
addEvent("sss",true) 
addEventHandler("sss", root, 
function() 
     local PlayerMoney = getPlayerMoney(source) 
     if (PlayerMoney >= 1500) then 
          takePlayerMoney(source,1500) 
          setPedStat(source, 24, 999) 
          setElementHealth(source,200) 
          outputChatBox("has bought", root, 255, 0, 0, true) 
     else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
     end 
end) 

و الليزر مثل ما قلت

2- :D (الليزر (يمكن بعد 3-5 سنوات تعرف تسويه

https://wiki.multitheftauto.com/wiki/DxDrawLine3D

Link to comment
addEvent("sss",true) 
addEventHandler("sss", root, 
function() 
     local PlayerMoney = getPlayerMoney(source) 
     if (PlayerMoney >= 1500) then 
          takePlayerMoney(source,1500) 
          setPedStat(source, 24, 999) 
          setElementHealth(source,200) 
          outputChatBox("has bought", root, 255, 0, 0, true) 
     else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
     end 
end) 

و الليزر مثل ما قلت

2- :D (الليزر (يمكن بعد 3-5 سنوات تعرف تسويه

https://wiki.multitheftauto.com/wiki/DxDrawLine3D

باقي مايشتغل الدم %200

Link to comment
ايش الي ما يشتغل فيه؟

يجي الكلام

has bought

في الشات؟

في أي خطأ بـ

/debugscript 3?

لا مايجي

has bought

واذا كتبت

debugscript 3

تجي كل الاخطاء الي في الشوب ههه

كلنت

  
addEventHandler ("onClientGUIClick", getRootElement(), 
function() 
if ( source ==  shop_15) then  
triggerServerEvent("sss",getLocalPlayer())  
  
end  
  
end  
) 
   

سيرفر

  
addEvent("sss",true) 
addEventHandler("sss", root, 
function() 
     local PlayerMoney = getPlayerMoney(source) 
     if (PlayerMoney >= 1500) then 
          takePlayerMoney(source,1500) 
          setPedStat(source, 24, 999) 
          setElementHealth(source,200) 
          outputChatBox("has bought", root, 255, 0, 0, true) 
     else 
          outputChatBox("you Don't have enough Money", source, 255, 0, 0, true) 
     end 
end) 
  
  
  

^^

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