Professional Posted March 13, 2015 Share Posted March 13, 2015 اللسلام عليكم ابي فنكش مثال اي سياره راكب فيها اكتب كود باف 8 ما عاد تنفجر ابدا واذا رجعت كتبت الكود تصير تنفجر لاهنتو لا تبخلو عليي بس الفنكشات وبعض المساعده منكم Link to comment
#MFGR7OM Posted March 13, 2015 Share Posted March 13, 2015 addCommandHandler blowVehicle Link to comment
EH10 Posted March 13, 2015 Share Posted March 13, 2015 addCommandHandler blowVehicle > Link to comment
nxFairlywell Posted March 13, 2015 Share Posted March 13, 2015 integer = 0 addCommandHandler("Command", function( player, cmd ) if getPedOccupiedVehicle( player ) then integer = integer + 1 setElementData( player, "blowVeh", integer ) if getElementData( player, "blowVeh" ) == 2 then local vehicle = getPedOccupiedVehicle( player ) blowVehicle( vehicle ) integer = 0 end else return end end ) Link to comment
</Mr.Tn6eL> Posted March 13, 2015 Share Posted March 13, 2015 This functions makes a vehicle damage proof, so it won't take damage from bullets, hits, explosions or fire. A damage proof's vehicle health can still be changed via script. addCommandHandler("blow", function(plr) local veh = getPedOccupiedVehicle(plr) if veh then setVehicleDamageProof(veh, not isVehicleDamageProof(veh)) 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