Jump to content

طلب كود


Recommended Posts

Posted
addEventHandler("onClientVehicleDamage", root, 
function () 
if ( serial == getPlayerSerial(getLocalPlayer()) ) then 
cancelEvent () 
end 
end 
) 

الكود صحيح

السيارة ما تنفجر لما ادعم بس لما تنقلب تنفجر

كيف اخليها لما تنقلب ما تنفجر؟ ووتعدل بروحها ؟

Posted

الكود كذا يصير

addEventHandler("onClientVehicleDamage", root, 
function () 
if ( getPlayerSerial(getLocalPlayer()) == "Serial" ) then 
cancelEvent () 
end 
end 
) 

الطب الثاني مفهمت عليك !

Dis ; AF.#0941

Posted
الكود كذا يصير
addEventHandler("onClientVehicleDamage", root, 
function () 
if ( getPlayerSerial(getLocalPlayer()) == "Serial" ) then 
cancelEvent () 
end 
end 
) 

الطب الثاني مفهمت عليك !

اخوي الكود قلت انه صحيح ما كان في داعي لهذا

طلب ثاني

getElementRotation

setElementRotation

مشكور اخوي

Posted

العفو

ههههههه مدري ذا وش عمل بس قلب السطر

سبحان الله

----------------------------------

LUA 56%

Posted
addEventHandler("onClientVehicleDamage", root, 
function () 
if ( serial == getPlayerSerial(getLocalPlayer()) ) then 
cancelEvent () 
end 
end 
) 

الكود صحيح

السيارة ما تنفجر لما ادعم بس لما تنقلب تنفجر

كيف اخليها لما تنقلب ما تنفجر؟ ووتعدل بروحها ؟

if ( serial == getPlayerSerial(getLocalPlayer()) ) then 

وش الفايده من هذا الكود؟ :|

h3x#2020
Posted

يمكن هاذا كود الي يطلق على السيارة يتبر يخرب وبيعطيه باند يمكن

BACK!

هؤلاء الواقفون على قمة الجبل لم يهبطوا من السماء هناك

Posted
addEventHandler("onClientVehicleDamage", root, 
function () 
if ( serial == getPlayerSerial(getLocalPlayer()) ) then 
cancelEvent () 
end 
end 
) 

الكود صحيح

السيارة ما تنفجر لما ادعم بس لما تنقلب تنفجر

كيف اخليها لما تنقلب ما تنفجر؟ ووتعدل بروحها ؟

if ( serial == getPlayerSerial(getLocalPlayer()) ) then 

وش الفايده من هذا الكود؟ :|

هذي تجيب سيريال اللاعب إذا السيريال إلي جابه هو نفسه إلي أنا مخليه

يخلي سيارته ما تنفجر

وإذا مو هو تنفجر

فهمت!

Posted

طيب اخوي يزن انا ابي السيارة

ما تتكسر

يعني ما تطيح اجزاء من السيارة

Posted

ستخدم ذا مع الايفنت يوم تضرب سياره

function () 
    local vehicle = getPedOccupiedVehicle ( localPlayer ) 
    if ( vehicle ) then 
         fixVehicle ( vehicle ) 
end 
end 

سبحان الله

----------------------------------

LUA 56%

Posted
addEventHandler("onClientVehicleDamage", root, 
function () 
if ( serial == getPlayerSerial(getLocalPlayer()) ) then 
cancelEvent () 
end 
end 
) 

الكود صحيح

السيارة ما تنفجر لما ادعم بس لما تنقلب تنفجر

كيف اخليها لما تنقلب ما تنفجر؟ ووتعدل بروحها ؟

if ( serial == getPlayerSerial(getLocalPlayer()) ) then 

وش الفايده من هذا الكود؟ :|

هذي تجيب سيريال اللاعب إذا السيريال إلي جابه هو نفسه إلي أنا مخليه

يخلي سيارته ما تنفجر

وإذا مو هو تنفجر

فهمت!

تحققك غلط ماشوف سيريالك انت مسوي تحقق يجيب سيريال اللاعب بس !

h3x#2020
Posted
كلاسيك

انا مسوي

local serial = "....."

بس مو حطاه بالكود افهم!

local serial = "" -- ضع السريال هتا 
  
-- السيارة ما تنفجر 
  
addEventHandler("onClientVehicleDamage", root, 
    function () 
    local thePlayer = getVehicleController ( source )  
        if (thePlayer) then 
            if ( getPlayerSerial(thePlayer) == serial ) then 
        cancelEvent () 
        end  
    end 
end 
) 
  
-- كيف اخليها لما تنقلب ما تنفجر 
function check() 
    for k,v in ipairs ( getElementsByType("player") ) do 
        if ( getPlayerSerial(v) == serial ) then  
            local vehicle = getPedOccupiedVehicle(v) 
            if vehicle then  
            local rX, rY, rZ = getElementRotation(vehicle) 
                if rZ > 1 then  
                setElementRotation(vehicle, 0, 0, rZ ) 
                end 
            end 
        end  
    end  
end  
setTimer(check,1000,0) 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

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