micheal1230 Posted June 4, 2012 Share Posted June 4, 2012 function maxpayne(thePlayer, command) if getGameSpeed() == 0.5 then setGameSpeed(1) outputChatBox("Max Payne Mode Off", thePlayer) else setGameSpeed(0.5) outputChatBox("Max Payne Mode On", thePlayer) end end addCommandHandler("maxpayne", maxpayne) Link to comment
Alpha Posted June 5, 2012 Share Posted June 5, 2012 Client side: function maxpayne() if getGameSpeed() == 0.5 then setGameSpeed(1) outputChatBox("Max Payne Mode Off") else setGameSpeed(0.5) outputChatBox("Max Payne Mode On") end end addCommandHandler("maxpayne", maxpayne) Link to comment
Moderators IIYAMA Posted June 5, 2012 Moderators Share Posted June 5, 2012 change the gamespeed on client side, will cause sync lagg. Link to comment
Guest Guest4401 Posted June 5, 2012 Share Posted June 5, 2012 change the gamespeed on client side, will cause sync lagg. There is no way to set gamespeed for a particular player from server side Link to comment
Moderators IIYAMA Posted June 5, 2012 Moderators Share Posted June 5, 2012 change the gamespeed on client side, will cause sync lagg. There is no way to set gamespeed for a particular player from server side That is right, but I note it as lagg. It is just a kind of "warning" or advice for not using it, nothing more/nothing less. Link to comment
Alpha Posted June 5, 2012 Share Posted June 5, 2012 The code I posted should work, it's clientside. But like IIYAMA said, it has it's own share of sync risks. 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