Jump to content

تصحيح اكواد


Recommended Posts

في 4 اكواد غلط

1

Teame = createTeam("Pilot", 0, 255, 0) 
  
  
  
taxiTeams = { [Teame] = true } 
localtaxiVehs = {   
[1]={ 593 }, 
[2]={ 511 }, 
[3]={ 513 }, 
[4]={ 519 }, 
[5]={ 512 }, 
[5]={ 553 } 
} = true } 
  

2

function inVEH ( thePlayer ) 
    if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then 
        if ( getElementModel ( source ) == 593 or ( source ) == 511 or ( source ) == 513 or ( source ) == 519 or ( source ) == 512 or ( source ) == 553 
            startJob ( thePlayer ) 
        end 
    end  
end 

3

function warpit ( thePlayer ) 
    if ( getElementType ( thePlayer ) == "player" and isPedInVehicle ( thePlayer ) ) then 
       local vehiclee = getPedOccupiedVehicle ( thePlayer ) 
        if ( getElementModel ( vehiclee ) == 593 or 511 or 513 or 519 or 512 or 553 ) then 
            setTimer ( warpPedIntoVehicle, 2000, 1, peds [ thePlayer ], vehiclee, 1 ) 
            destroyJob ( thePlayer ) 
            local x, y, z = unpack ( dropoffss [ math.random ( #dropoffss ) ] ) 
            markers [ thePlayer ] = createMarker ( x, y, z - 1, "cylinder", 5.0, 255, 255,0, 255 ) 
            mposii = { getElementPosition( markers [ thePlayer ] ) } 
            blips [ thePlayer ] = createBlipAttachedTo ( markers [ thePlayer ], 41, 2, 255, 0, 0, 255, 0, 99999.0, thePlayer ) 
            addEventHandler ( "onMarkerHit", markers [ thePlayer ], pickmeup ) 
            end 
            end 
        end 

4

local marker = {} 
local vehicleId1 = {  
[1]= 593, 
[2]= 511, 
[3]= 513, 
[4]= 519, 
[5]= 512, 
[6]= 553 
 } 

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