AD99 Posted November 25, 2011 Share Posted November 25, 2011 السلام عليكم اخواني انا ابي كود سوبر قنابل الي عنده لا يبخل عليا + اذا ممكن تعليم كيف اسوي كود جديد مثل التجميد وهكذا Link to comment
IIIIlllllIII Posted November 26, 2011 Share Posted November 26, 2011 client.lua كود كلنت function onGuiClick (button, state, absoluteX, absoluteY) if ( source == weapButton_25 ) then local PlayerMoney = getPlayerMoney() if ( PlayerMoney > 7000 ) then takePlayerMoney(7000) outputChatBox("Super Grenade Well End After : 3 Minutes",source,255,255,0) triggerServerEvent("sp", getLocalPlayer()) function narBullets(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) if ( weapon == 24) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 23) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 22) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 31) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 30) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 32) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 29) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 28) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 33) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 34) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 25) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end end addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) setTimer(function () removeEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) outputChatBox("Super Grenade Has been End",255,255,0) end,100000,1, true) triggerEvent("alarm", getRootElement()) else outputChatBox("Your money should be more than a $7000 to buy Super Grenade", source, 255, 25, 0, true) end end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) Link to comment
AD99 Posted November 26, 2011 Author Share Posted November 26, 2011 client.luaكود كلنت function onGuiClick (button, state, absoluteX, absoluteY) if ( source == weapButton_25 ) then local PlayerMoney = getPlayerMoney() if ( PlayerMoney > 7000 ) then takePlayerMoney(7000) outputChatBox("Super Grenade Well End After : 3 Minutes",source,255,255,0) triggerServerEvent("sp", getLocalPlayer()) function narBullets(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) if ( weapon == 24) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 23) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 22) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 31) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 30) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 32) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 29) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 28) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 33) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 34) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end if ( weapon == 25) then createProjectile(getLocalPlayer(),16,hitX, hitY, hitZ) end end addEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) setTimer(function () removeEventHandler("onClientPlayerWeaponFire", getLocalPlayer(), narBullets) outputChatBox("Super Grenade Has been End",255,255,0) end,100000,1, true) triggerEvent("alarm", getRootElement()) else outputChatBox("Your money should be more than a $7000 to buy Super Grenade", source, 255, 25, 0, true) end end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick) شكرا لك اخوي المجرم طيب ممكن تقولي من وين تجيب الكودات ؟ اذا ما فيه اي مشكله Link to comment
IIIIlllllIII Posted November 28, 2011 Share Posted November 28, 2011 شكرا لك اخوي المجرم طيب ممكن تقولي من وين تجيب الكودات ؟ اذا ما فيه اي مشكله هلا ياخي الكودات ماتجي جاهزه الكودات هذي اشخاص مسوينها من قبل ولا لها موقع معين وانتشرت في الشوبات من زمان وهي كودات خاصه Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now