Jump to content

طلب كود


Recommended Posts

Posted

السلام عليكم ورحة الله وبركاته

.

x,y,z = getElementPosition( source )

ابي كود يتعرف مكان السباون ادأ مات يرجع يلعب مرة ثانية

للريس ^

اتمنى الكل يفهم ^

-

--

---

----

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted

لا, يرجع محل السباون الماب الأسأسي

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted

يقصد اذا مت بالريس . .

تموت بمكان معين ..

يبيه يرجع لنفس المكان . .

ماقترح تسويه طيب لو مات بالمويه ؟

عالعموم .,

Event : onPlayerWasted 

getElementPosition 

spawnPlayer 

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

يب ادد

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted

function getMapData(data,valueData) ------- Function Hassan 
    if ( data and valueData ) then 
        for i,v in ipairs(getElementsByType(data)) do 
            if ( v ) then 
                local value = getElementData(v,valueData) 
                if ( value ) then 
                    return value 
                else 
                    return outputDebugString("Bad Argument value data .",1) 
                end 
            else 
                return outputDebugString("Bad Argument data .",1) 
            end 
        end 
    else 
        return outputDebugString("Please Add data / value data .",1) 
    end 
end 
  
addCommandHandler( "addMe", function( player ) 
    local id = getMapData("spawnpoint","vehicle") 
    local px = getMapData("spawnpoint","posX") 
    local py = getMapData("spawnpoint","posY") 
    local pz = getMapData("spawnpoint","posZ") 
    local rx = getMapData("spawnpoint","rotX") 
    local ry = getMapData("spawnpoint","rotY") 
    local rz = getMapData("spawnpoint","rotZ") 
    if ( id and px and py and pz and rx and ry and rz ) then 
       if ( getPedOccupiedVehicle( player ) ) then 
           setElementModel( getPedOccupiedVehicle( player ), tonumber( id ) ) 
           setElementPosition( getPedOccupiedVehicle( player ), px, py, pz ) 
           setElementRotation( getPedOccupiedVehicle( player ), rx, ry, rz ) 
        end 
    end 
end )  

To Contact Me at Skype : [email protected]

Posted
function getMapData(data,valueData) ------- Function Hassan 
    if ( data and valueData ) then 
        for i,v in ipairs(getElementsByType(data)) do 
            if ( v ) then 
                local value = getElementData(v,valueData) 
                if ( value ) then 
                    return value 
                else 
                    return outputDebugString("Bad Argument value data .",1) 
                end 
            else 
                return outputDebugString("Bad Argument data .",1) 
            end 
        end 
    else 
        return outputDebugString("Please Add data / value data .",1) 
    end 
end 
  
addCommandHandler( "addMe", function( player ) 
    local id = getMapData("spawnpoint","vehicle") 
    local px = getMapData("spawnpoint","posX") 
    local py = getMapData("spawnpoint","posY") 
    local pz = getMapData("spawnpoint","posZ") 
    local rx = getMapData("spawnpoint","rotX") 
    local ry = getMapData("spawnpoint","rotY") 
    local rz = getMapData("spawnpoint","rotZ") 
    if ( id and px and py and pz and rx and ry and rz ) then 
       if ( getPedOccupiedVehicle( player ) ) then 
           setElementModel( getPedOccupiedVehicle( player ), tonumber( id ) ) 
           setElementPosition( getPedOccupiedVehicle( player ), px, py, pz ) 
           setElementRotation( getPedOccupiedVehicle( player ), rx, ry, rz ) 
        end 
    end 
end )  

سيرفر ؟

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted
function getMapData(data,valueData) ------- Function Hassan 
    if ( data and valueData ) then 
        for i,v in ipairs(getElementsByType(data)) do 
            if ( v ) then 
                local value = getElementData(v,valueData) 
                if ( value ) then 
                    return value 
                else 
                    return outputDebugString("Bad Argument value data .",1) 
                end 
            else 
                return outputDebugString("Bad Argument data .",1) 
            end 
        end 
    else 
        return outputDebugString("Please Add data / value data .",1) 
    end 
end 
  
addCommandHandler( "addMe", function( player ) 
    local id = getMapData("spawnpoint","vehicle") 
    local px = getMapData("spawnpoint","posX") 
    local py = getMapData("spawnpoint","posY") 
    local pz = getMapData("spawnpoint","posZ") 
    local rx = getMapData("spawnpoint","rotX") 
    local ry = getMapData("spawnpoint","rotY") 
    local rz = getMapData("spawnpoint","rotZ") 
    if ( id and px and py and pz and rx and ry and rz ) then 
       if ( getPedOccupiedVehicle( player ) ) then 
           setElementModel( getPedOccupiedVehicle( player ), tonumber( id ) ) 
           setElementPosition( getPedOccupiedVehicle( player ), px, py, pz ) 
           setElementRotation( getPedOccupiedVehicle( player ), rx, ry, rz ) 
        end 
    end 
end )  

سيرفر ؟

yup

To Contact Me at Skype : [email protected]

Posted
function getMapData(data,valueData) ------- Function Hassan 
    if ( data and valueData ) then 
        for i,v in ipairs(getElementsByType(data)) do 
            if ( v ) then 
                local value = getElementData(v,valueData) 
                if ( value ) then 
                    return value 
                else 
                    return outputDebugString("Bad Argument value data .",1) 
                end 
            else 
                return outputDebugString("Bad Argument data .",1) 
            end 
        end 
    else 
        return outputDebugString("Please Add data / value data .",1) 
    end 
end 
  
addCommandHandler( "addMe", function( player ) 
    local id = getMapData("spawnpoint","vehicle") 
    local px = getMapData("spawnpoint","posX") 
    local py = getMapData("spawnpoint","posY") 
    local pz = getMapData("spawnpoint","posZ") 
    local rx = getMapData("spawnpoint","rotX") 
    local ry = getMapData("spawnpoint","rotY") 
    local rz = getMapData("spawnpoint","rotZ") 
    if ( id and px and py and pz and rx and ry and rz ) then 
       if ( getPedOccupiedVehicle( player ) ) then 
           setElementModel( getPedOccupiedVehicle( player ), tonumber( id ) ) 
           setElementPosition( getPedOccupiedVehicle( player ), px, py, pz ) 
           setElementRotation( getPedOccupiedVehicle( player ), rx, ry, rz ) 
        end 
    end 
end )  

ابي ترايقر سيرفر ^_^

سيرفر ؟

yup

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted

ابي ترايقر سيرفر + ايفنت

=[ من مواضيعي ]=

____________________

NEW | Weapon_ShopV2

NEW | position_v1

Soon | Skin_SystemV2

NEW | Police_CarsV1

Soon | Police_OFFICER

Soon | WarpPanelV2.1

____________________

Posted
ابي ترايقر سيرفر + ايفنت

مافهمت وش قصدك اذا تبي تريقر من كلنت للسيرفر

triggerServerEvent 

Try a little harder to be a little better

I Can Made To You Any Script For $

Skype : alhajarii-mtasa

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