Jump to content

طلب كود


Recommended Posts

معليش برستيج

انا مبتديء

هذا صح ؟؟؟

function kiilpler()createMarker(source,2485,-1666.517822265,13.34375,255,255,255,ture)endaddEventHandler("getElementType",root,kiilpler)killPed(source,255,255,255,ture)function resourceStart ()endaddEventHandler ( "onMarkerHit",resourceRoot, resourceStart ) 

وش هالعفسة رتب كودك ><

Link to comment

"-_-

Marker = createMarker( x, y, z, "cylinder", Size, R, G, B ,Alpha) 
  
addEventHandler ( "onMarkerHit",Marker, 
function (player) 
if ( getElementType(player) == "player" and not isPedInVehicle(player) )  then 
killPed(player,player) 
end 
end,false) 

Link to comment

# -- Server Side 
local Marker = createMarker ( x, y , z, "cylinder", 1.5, 255, 255, 0, 170 ) 
  
addEventHandler ("onMarkerHit",Marker, 
function (   plr    ) 
    if ( getElementType ( plr ) == ( "player" ) ) then 
        killPed ( plr ) 
    end 
end,false 
) 
  
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...