Jump to content

ابي فنكش


Recommended Posts

السلام عليكم

ابي فنكش اني اكتب كلمه ينسحبو كل الي في التيم الي ابيه اتمنى فهمتو عليي

مثال:

2 في تيم رصاصي ابي اكتب كلمه سحب كل الي في تيم رصاصي ينسحبون لعندي

وشكرررررررررررررررررررررررررررررررررررررررررررررررر

Link to comment
addCommandHandler( "سحب", function (_,_,x,y,z) 
    local theTeam = getTeamFromName('TeamName') 
    if (theTeam) then 
        local players = getPlayersInTeam (theTeam)  
        for playerKey, playerValue in ipairs ( players ) do 
            setElementPosition ( playerValue, x, y, z ) 
        end 
    end 
end) 

TeamName = اسم التيم

.جرب ورد لي خبر

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