Jump to content

طلب كودين


Recommended Posts

Posted

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

اتمنى تكونو شباب في اتم العافية

بدي اطلب كودين مكتملين

الاول لجعل نفسي لا اموت في اللعبة ^^

يعني دم لا ينقص ابدا

و الثاني لجعل سيبر ديقل ، او سيبر سنايبر او اي سلاح

عندي واحد لكن يجعل السيرفر كله عندهه سيبر ديقل

    addEventHandler("onPlayerDamage",root, 
    function(i,w) 
         if (w == 24) then 
              killPed(source,i,w) 
         end 
    end)' 

اذا تحتاجو اسمي شوفو تحت

شكرا مسبقا

Just Smile !

Posted
  
addEventHandler ( "onPlayerDamage", root, 
    function ( theAttacker, theWeapon ) 
        if getPlayerSerial ( theAttacker ) == "Your Serial" then 
            if theWeapon == 24 then 
                killPed ( source, theAttacker, theWeapon ) 
            end 
        end 
    end 
) 
  

Posted

حاولت اسوي كود و ما عرفت

GetWeaponProperty 

وش الحل ممكن تعطني كود اذا تبي ؟

Just Smile !

Posted
local speed = getWeaponProperty(31, "pro", "move_speed") 

الكود من الويكي

Set و Get في فرق بين ^^

Posted

يا اخي ذا مو شغال

+ "firing_speed" مو "move_speed"

بالاضافة انا ابيه لي وحدي مو لكل السيرفر

Just Smile !

Posted

عنــآد لهنت الكود كامل

تراني حاولت باسمي ، بسريالي

و ما عرفت كيف اسويها

ابي اطلق بسرعة وحدي في السيرفر

Just Smile !

Posted
function fireSpeed () 
    if getPlayerSerial == "SERIAL" 
    then 
    --code 
end 
end 
--Event or Command 

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

Posted
function fireSpeed () 
    if getPlayerFromName == "#[iMr][E'rrOr]_N" 
    then 
    --getWeaponProperty ( M4, "pro", "firing_speed" ) 
end 
end 

Just Smile !

Posted
function fireSpeed () 
    if getPlayerFromName == "#[iMr][E'rrOr]_N" 
    then 
    --getWeaponProperty ( M4, "pro", "firing_speed" ) 
end 
end 

function fireSpeed () 
    if getPlayerFromName == "#[iMr][E'rrOr]_N" 
    then 
    getWeaponProperty ( 31, "pro", "firing_speed" ) 
end 
end 
--Event or Command 

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

Posted (edited)
function fireSpeed () 
    if getPlayerFromName == "#[iMr][E'rrOr]_N" then 
    setWeaponProperty ( M4, "pro", "firing_speed" ) 
end 
end 
addEventHandler('onPlayerJoin',root,fireSpeed) 

Edited by Guest

#~BlackBird~#

Posted
function fireSpeed () 
    if getPlayerFromName == "#[iMr][E'rrOr]_N" then 
    settWeaponProperty ( M4, "pro", "firing_speed" ) 
end 
end 
addEventHandler('onPlayerJoin',root,fireSpeed) 

"firing_speed" Get only

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

Posted
-- لم يتم التجربة 
addCommandHandler ( "upgradeWeapon", 
    function ( thePlayer, theID ) 
        if getPlayerSerial ( thePlayer ) == "Your Serial" then 
            if theID then 
                setWeaponProperty ( theID, "pro", "move_speed", 1000 ) 
                outputChatBox ( "* Enabled 'Move Speed'", thePlayer, 0, 255, 0, true ) 
            else 
                outputChatBox ( "* Error, try again /upgradeWeapon [weaponID]", thePlayer, 255, 0, 0, true ) 
            end 
        end 
    end 
) 
  

اكتب بـ أف8

upgradeWeapon [weaponID]

مثال

upgradeWeapon 31

Posted
--لم يتم التجربه 
function fireSpeed () 
if getPlayerFromName == "#[iMr][E'rrOr]_N" 
then 
   getWeaponProperty ( 31, "pro", "firing_speed" ) 
end 
end 
addCommandHandler ( "upgradeweapon", fireSpeed ) 
  

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

Posted
--لم يتم التجربه 
function fireSpeed () 
if getPlayerFromName == "#[iMr][E'rrOr]_N" 
then 
   getWeaponProperty ( 31, "pro", "firing_speed" ) 
end 
end 
addCommandHandler ( "upgradeweapon", fireSpeed ) 
  

ليه صرت ذكي مرة !!

بالله فهمني وش دخل ذذ

getWeaponProperty ( 31, "pro", "firing_speed" ) 

حط

setWeaponProperty ( 31, "pro", "firing_speed" ) 

#~BlackBird~#

Posted
--لم يتم التجربه 
function fireSpeed () 
if getPlayerFromName == "#[iMr][E'rrOr]_N" 
then 
   getWeaponProperty ( 31, "pro", "firing_speed" ) 
end 
end 
addCommandHandler ( "upgradeweapon", fireSpeed ) 
  

ليه صرت ذكي مرة !!

بالله فهمني وش دخل ذذ

getWeaponProperty ( 31, "pro", "firing_speed" ) 

حط

setWeaponProperty ( 31, "pro", "firing_speed" ) 

شوف

95571373.png

ahmadsig1.png

Nobody is perfect , I'm nobody.

22771qw7.jpg

Skype : ahmad.nasser37

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