HoLsTeN Posted July 21, 2011 Share Posted July 21, 2011 hi all guys i am bored -_-" i try to find Function in the wiki for ghostmode like in race i need it to my Resident Evil Server Can Any One Give Me an Example Link to comment
Cyanide Posted July 21, 2011 Share Posted July 21, 2011 Try using SetElementCollidableWith. Link to comment
midomido Posted July 21, 2011 Share Posted July 21, 2011 and here is a script that might be helpful , i made it function playerhurt ( attacker, weapon, bodypart, loss ) if not (getElementData(source,"armor")) then if ( bodypart == 9 ) then killPed ( source, attacker, weapon, bodypart ) setPedHeadless(source, true) setTimer( setPedHeadless, 30000, 1, source, false) setPlayerNametagShowing ( attacker, false ) setTimer( setPlayerNametagShowing, 60000, 1, attacker, true) setElementAlpha ( attacker, 15 ) setTimer( setElementAlpha, 60000, 1, attacker, 255) end end end addEventHandler ( "onPlayerDamage", getRootElement (), playerhurt ) 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