#He[T]LeR Posted May 21, 2016 Share Posted May 21, 2016 لو سمحتو بدي كود كامل لاطلاق من سلاح لانشر + الطيران بالهوا ستاف + ما اموت اكتبهم في اللوحة ذول شكرا Link to comment
Me[Z]oO Posted May 21, 2016 Share Posted May 21, 2016 لو سمحتو بدي كود كامل لاطلاق من سلاح لانشر + الطيران بالهوا ستاف + ما اموت اكتبهم في اللوحة ذول شكرا الطلب الاول setElementData addEventHandler -- "onClientWeaponFire" getElementData createExplosion الطلب الثاني setWorldSpecialPropertyEnabled الطلب الثالث addEventHandler -- "onClientPlayerDamage" cancelEvent Link to comment
Mhmd.z Posted May 22, 2016 Share Posted May 22, 2016 القسم غلط ..# خذ: 1- bindKey("sprint", "down", function(weapon,ammo,ammoInClip,hitX,hitY,hitZ,hitElement) local weaponSolt = getPlayerWeaponSlot(localPlayer) local widh, height = guiGetScreenSize() local x, y, z = getPedWeaponMuzzlePosition(localPlayer) local cax , cay, caz = getCameraMatrix() local tx , ty, tz = getWorldFromScreenPosition(widh/1.89,height/2.5,7) local sx, sy, sz = (tx-cax)/5, (ty-cay)/5, (tz-caz)/5 if weaponSolt then createProjectile(localPlayer, 19, x, y, z, 1, nil, 0, 0, 360-getPedRotation(localPlayer), sx, sy, sz) end end ) 2- setWorldSpecialPropertyEnabled("extrajump ", true) 3- function onDamage() cancelEvent() end addEventHandler("onClientPlayerDamage", root, onDamage) 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