I want this to be used in my upcoming server and I also wants players to get paid whenever they perform stunt.
Such as if they perform wheelie for 1 second they will get 10$
stoppie 1 second 20$
2wheeler 1 second 50$
addEventHandler( "onClientPlayerStuntStart", getRootElement( ),
function ( stuntType )
outputChatBox( "You started stunt: " .. stuntType );
end
);
addEventHandler( "onClientPlayerStuntFinish", getRootElement( ),
function ( stuntType, stuntTime, distance )
outputChatBox( "You finished stunt: " .. stuntType ..", Time: " .. tostring( stuntTime ).. ", Distance: " .. tostring( distance ) );
end
);
Pls help me out