Jump to content

طلبببببب كود


Recommended Posts

ممكن تصحيح *

local marker = { } 
  
addCommandHandler("Markers", 
function () 
 if isElement( marker[source] ) then destroyElement( markers[source] ) end 
 x,y,z = getElementPosition(source) 
 local marker[source] = createMarker( x, y, z, "cylinder", 1.5, 255, 0, 0, 160 ) 
    else 
 destroyElement ( marker[source] ) 
  end 
) 
Link to comment

local marker = {    } 
  
addCommandHandler( "Markers", function ( player ) 
  if not ( isElement( marker[ player ] ) ) then 
        local x, y, z = getElementPosition( player ) 
        marker[ player ] = createMarker( x, y ,z + 2, "cylinder", 1.5, 255, 0, 0, 160 ) 
 else 
        destroyElement ( marker[ player ] ) 
        marker[ player ] = nil 
     end 
end ) 
Link to comment
local marker = {    } 
  
addCommandHandler( "Markers", function ( player ) 
  if not ( isElement( marker[ player ] ) ) then 
        local x, y, z = getElementPosition( player ) 
        marker[ player ] = createMarker( x, y , z + 2, "cylinder", 1.5, 255, 0, 0, 160 ) 
 else 
        destroyElement ( marker[ player ] ) 
        marker[ player ] = nil 
     end 
end ) 

الماركر يجي علي مايجي قدامي

Link to comment
local marker = {    } 
  
addCommandHandler( "Markers", function ( player ) 
  if not ( isElement( marker[ player ] ) ) then 
        local x, y, z = getElementPosition( player ) 
        marker[ player ] = createMarker( x, y + 1, z - 1, "cylinder", 1.5, 255, 0, 0, 160 ) 
 else 
        destroyElement ( marker[ player ] ) 
        marker[ player ] = nil 
     end 
end ) 

Link to comment

قصدي يعني الان كتبت لكلمة يجي قدامي بالضبط بعدين لما اكتبها مره ثانيه يختفي الماركر ولما الف ظهري واككتبها ثالث مره يجي ورا ظهري الماركر

Link to comment
local marker = {    } 
  
addCommandHandler( "Markers", function ( player ) 
  if not ( isElement( marker[ player ] ) ) then 
        local x, y, z = getElementPosition( player ) 
        marker[ player ] = createMarker( x, y , z + 1, "cylinder", 1.5, 255, 0, 0, 160 ) 
        attachElements ( marker[ player ] , player, -0.2, 3, -1) 
        setPedAnimation(player,"CASINO","cards_loop",-1,true,true,true ) 
 else 
        destroyElement ( marker[ player ] ) 
        marker[ player ] = nil 
        setPedAnimation(player,false) 
     end 
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...