Jump to content

طلب كود


Recommended Posts

addCommandHandler 
setPlayerTeam 

واذا تبي تسوي تيمات

createTeam 

سويت الكود بس ماني متأكد هو صحيح ولا لا

(    function() 
        if source == thePlayer then spawnteam) 
        addCommandHandler("Robrrey") 
        setPlayerTeam("Robrrey") 
        end 
    end 

Link to comment

طيب يالغالي كان ممكن تحطها عشوائي باضافة ^_^

local money = math.random(500,1000)-------الرقم يصير عشوائي بين 500 الى 1000 

تصير كذا

marker = createMarker(x,y,z,"cylinder",1,0,255,0,255) 
  
function money(hit,m) 
local money = math.random(500,1000) 
    givePlayerMoney(hit,money) 
end 
addEventHandler("onMarkerHit",marker,money) 

اسف على التدخل بس حبيت اساعد اكثر

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