Jump to content

استفسار


Recommended Posts

local myMarker = createMarker(2710.56689, 1502.52222, 6.74200, 'cylinder', 2.0, 255, 0, 0, 150) 
  
function myMarkerF(hit) 
     outputChatBox ( "0") 
    if  hit == localPlayer then 
    outputChatBox ( "1") 
 if ( getTeamName ( getPlayerTeam ( hit ) ) == "Swat" )   then 
    outputChatBox ( "2")   
 if isPedInVehicle ( hit ) then 
   outputChatBox ( "3")   
 end 
 end 
 end 
 end 
 addEventHandler("onClientMarkerHit",myMarker,myMarkerF) 
  
  

ما يجي رقم 3

..

وين المشكله !؟

Link to comment
local myMarker = createMarker(2710.56689, 1502.52222, 6.74200, 'cylinder', 2.0, 255, 0, 0, 150) 
function myMarkerF(hit) 
outputChatBox ( "0") 
if  hit == localPlayer then 
outputChatBox ( "1") 
if getPlayerTeam ( hit )  then 
if ( getTeamName ( getPlayerTeam ( hit ) ) == "Swat" )  then 
outputChatBox ( "2")   
end 
end 
if isPedInVehicle ( hit ) then 
outputChatBox ( "3")   
end 
end 
end 
addEventHandler("onClientMarkerHit",myMarker,myMarkerF) 

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