Valentin3526 Posted October 24, 2015 Posted October 24, 2015 Just function "isPlayerStunting" for get if player stunting or no
John Smith Posted October 24, 2015 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;
Recommended Posts