Valentin3526 Posted October 24, 2015 Share Posted October 24, 2015 Just function "isPlayerStunting" for get if player stunting or no Link to comment
John Smith Posted October 24, 2015 Share Posted October 24, 2015 You can do it by yourself. -- client addEventHandler("onClientPlayerStuntStart",root, function() setElementData(localPlayer,"stunting",true); end ); addEventHandler("onClientPlayerStuntFinish",root, function() setElementData(localPlayer,"stunting",false); end ); -- server or client function isPlayerStunting(player) return getElementData(player,"stunting") or false; end; Link to comment
Recommended Posts