Jump to content

طلب كودين


Recommended Posts

السلام عليكم ورحمه الله وبركاته

شباب اول شيئ ابي كود ديسكو مع شرب خمر وما بعرف اش وخليه يسكر

ثاني كود انو احط صوره لي ابيها في ام تي اي مثل فلاب جاك ياحط صورته هو ومبمو برنس

وشكرا

Link to comment
السلام عليكم ورحمه الله وبركاته

شباب اول شيئ ابي كود ديسكو مع شرب خمر وما بعرف اش وخليه يسكر

ثاني كود انو احط صوره لي ابيها في ام تي اي مثل فلاب جاك ياحط صورته هو ومبمو برنس

وشكرا

1

set ped walking

set ped animation

2

viewtopic.php?f=160&t=73950

كود لخمر كذا منيح كيف حاطه انا ابيه للمقرات

function dance (source)
daBlockz = getElementData(root,"blockz")
daAnimz = getElementData(root,"animz")
	if daBlockz == "dancing" and daAnimz == "dnce_m_b" then
		setPedAnimation(source,false)
	else
		setPedAnimation ( source, "DANCING", "dnce_m_b")
	end
end
bool setPedWalkingStyle ( ped thePed, int style

addCommandHandler("dance",dance)

Link to comment

    local marker = createMarker(x,y,z, "cylinder", 2, 255, 0, 0) 
    setElementInterior (marker, interior) -- ب رقم العالم حق الديسكو interior استبدل 
    addEventHandler("onMarkerHit", marker, 
    function (player) 
    if getElementType(player) == "player" then 
    outputChatBox("Press Tab", player, 255, 255, 0) 
    end 
    end 
    ) 
      
    function anim ( player ) 
    if isElementWithinMarker ( player, marker ) then 
    if getElementType(player) == "player" then 
    setPedAnimation(player, "BAR", "dnk_stndM_loop") 
    setTimer (setPedAnimation, 3000, 1, player, false) 
    setTimer (setPedAnimation, 5000, 1, player, "RYDER", "RYD_Die_PT1") 
    setTimer (setPedAnimation, 15000, 1, player, false) 
    end 
    end 
    end 
      
    addEventHandler ( "onResourceStart", resourceRoot, 
    function ( ) 
    for _, v in ipairs ( getElementsByType ( "player" ) ) do 
    bindKey ( v, "tab", "down", anim ) 
    end 
    end 
    ) 
          
    addEventHandler ( "onPlayerJoin", root, 
    function ( ) 
    bindKey ( source, "tab", "down", anim ) 
    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...