Jump to content

طلب فنكشنات شرطة×حرامية


Recommended Posts

local Marker = createMarker( 2226.77954,1838.84619,9.82031, "cylinder", 1.5, 255, 250, 0, 100 ) 
  
addEventHandler( "onMarkerHit", Marker, function() 
local Team = getPlayerTeam("No Team) 
if Team = No Team then 
setElementPosition( source, 2203.62476, -1144.56409, 1033.71802) 
setElementInterior( source,15) 
   end 
end) 
 

صح او لا؟؟

دا للنو تيم

Link to comment
local Marker = createMarker( 2226.77954,1838.84619,9.82031, "cylinder", 1.5, 255, 250, 0, 100 ) 
  
addEventHandler( "onMarkerHit", Marker, function() 
local Team = getPlayerTeam("No Team) 
if Team = No Team then 
setElementPosition( source, 2203.62476, -1144.56409, 1033.71802) 
setElementInterior( source,15) 
   end 
end) 
  
 

صح او لا؟؟

دا للنو تيم

addEventHandler("onMarkerHit", Marker, 
function(player) 
    if getElementType(player) == "player" and not isPedInVehicle(player) then 
        if source == Marker then 
                local team = getPlayerTeam(player) 
                if team and getTeamName(team) == "No Team" then 
                    setElementPosition(player, x, y, z) 
                    setElementDimension(player, 1) 
                    setElementHealth(player, 100) 
                end 
        end 
    end 
end) 
  
Link to comment

addEventHandler("onMarkerHit", Marker, 
function(player) 
    if getElementType(player) == "player" and not isPedInVehicle(player) then 
        if source == Marker then 
                local team = getPlayerTeam(player) 
                if team and getTeamName(team) == "No Team" then 
                    setElementPosition(player, x, y, z) 
                    setElementDimension(player, 1) 
                    setElementHealth(player, 100) 
                end 
        end 
    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...