xMr.SAAD Posted February 13, 2014 Share Posted February 13, 2014 السلام عليكم شباب ابي تصلحون لي ذا كود addEventHandler( "onPlayerWasted", root, function ( _, killer ) givePlayerMoney ( killer, 500 ) if getPlayerMoney(source) >= 300 then takePlayerMoney(source,300) end end) ابيه اذا لاعب فجر سياره فيها لاعب يعطيه 500 ريال !! الى مات في سياره يسحب منه 300 Link to comment
فاّرس Posted February 13, 2014 Share Posted February 13, 2014 onClientVehicleDamage getElementType getElementHealth isPedInVehicle givePlayerMoney Link to comment
#DRAGON!FIRE Posted February 13, 2014 Share Posted February 13, 2014 onClientVehicleDamage getElementType getElementHealth isPedInVehicle givePlayerMoney + getPlayerMoney - takePlayerMoney Link to comment
al-Kobra Posted February 13, 2014 Share Posted February 13, 2014 (edited) addEventHandler("onClientVehicleDamage", root, function ( attacker ) if getElementType ( attacker ) == "player" and getElementHealth ( isPedInVehicle ( attacker ) ) <= 250 then if getPlayerMoney( attacker ) >= 300 then takePlayerMoney( attacker,300 ) givePlayerMoney ( source, 500 ) end end end ) جرب , Edited February 13, 2014 by Guest Link to comment
The Killer Posted February 13, 2014 Share Posted February 13, 2014 addEventHandler("onClientVehicleDamage", root, function ( attacker ) if getElementType ( attacker ) == "player" and getElementHealth ( isPedInVehicle ( ped ) ) <= 250 then if getPlayerMoney(source) >= 300 then takePlayerMoney(source,300) givePlayerMoney ( source, 500 ) end end end ) انت مسوي كودك يسحب الفلوس من الي تفجر ويعطيها ليي تفجر -,- ------ جرب حق Abo Shanab addEventHandler( "onPlayerWasted", root, function ( _, killer ) if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then givePlayerMoney ( killer, 30000 ) end end) Link to comment
al-Kobra Posted February 13, 2014 Share Posted February 13, 2014 addEventHandler("onClientVehicleDamage", root, function ( attacker ) if getElementType ( attacker ) == "player" and getElementHealth ( isPedInVehicle ( ped ) ) <= 250 then if getPlayerMoney(source) >= 300 then takePlayerMoney(source,300) givePlayerMoney ( source, 500 ) end end end ) انت مسوي كودك يسحب الفلوس من الي تفجر ويعطيها ليي تفجر -,- ------ جرب حق Abo Shanab addEventHandler( "onPlayerWasted", root, function ( _, killer ) if ( killer and isPedInVehicle(killer) and isPedInVehicle(source) ) then givePlayerMoney ( killer, 30000 ) end end) لوول ,, عدلته Link to comment
xMr.SAAD Posted February 13, 2014 Author Share Posted February 13, 2014 ما ضبظ >> ولا كود Link to comment
Mr.T9 Posted February 13, 2014 Share Posted February 13, 2014 (edited) جرب addEventHandler( "onPlayerWasted", root, function ( _, killer ) if isPedInVehicle ( killer ) then if getPlayerMoney(source) >= 300 then givePlayerMoney ( killer, 500 ) takePlayerMoney(source,300) end end end) Edited February 13, 2014 by Guest Link to comment
AboShanab Posted February 13, 2014 Share Posted February 13, 2014 جرب addEventHandler( "onPlayerWasted", root, function ( _, killer ) if isPedInVehicle ( killer ) then if getPlayerMoney(source) >= 300 then givePlayerMoney ( killer, 500 ) takePlayerMoney(source,300) end end) عندكك end ناقصص Link to comment
Mr.T9 Posted February 13, 2014 Share Posted February 13, 2014 جرب addEventHandler( "onPlayerWasted", root, function ( _, killer ) if isPedInVehicle ( killer ) then if getPlayerMoney(source) >= 300 then givePlayerMoney ( killer, 500 ) takePlayerMoney(source,300) end end) عندكك end ناقصص مشكور على التنبيه , تم التعديل 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