Jump to content

isPlayerStunting


Recommended Posts

Posted

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; 

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...