Jump to content

تعديل على كود


Recommended Posts

local Marker = createMarker ( 2971.4572753906, -670.11761474609, 688.10010306000, "cylinder", 1, 255, 255, 0, 150 ) 
addEventHandler('onClientMarkerHit', Marker, 
function ( hitPlayer ) 
    if ( hitPlayer == localPlayer ) then 
        local _, _, Pz = getElementPosition(hitPlayer) 
        local _, _, Mz = getElementPosition(Marker) 
 if (Mz + 3 >= Pz) and (Pz + 3 >= Mz) then 
            guiSetVisible ( GUIEditor_Window[1] ,true ) 
            showCursor( true ) 
        end 
    end 
end) 

طلبي أبغى اللاعب اذا دخل الماركر وانفتحت له اللوحة

يتجمد لمدة 500*1

يعني مايقدر يتحرك واللوحة فاتحة

+

مايموت اذا احد رماه وهو فاتح اللوحة

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