orcun99 Posted February 25, 2018 Share Posted February 25, 2018 lvcol = createColCircle ( 1796.6412353516,1740.2864990234, 1250 ) function player_Wasted ( ammo, attacker, weapon, bodypart ) outputChatBox("öldün") end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) function giris( player ) outputChatBox("You will cant use pvp command in Las Venturas",player) end addEventHandler( "onColShapeHit", lvcol, giris ) SERVER SİDE MY CODE I need if player oncolshapehit and die then outputchatbox("öldün") Link to comment
Moderators IIYAMA Posted February 25, 2018 Moderators Share Posted February 25, 2018 function player_Wasted ( ammo, attacker, weapon, bodypart ) if isElementWithinColShape(source, lvcol) then outputChatBox("öldün") end end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) https://wiki.multitheftauto.com/wiki/IsElementWithinColShape 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