Jump to content

setGameSpeed Just For 1 Person


Recommended Posts

Posted
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) 

Posted

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) 

Guest Guest4401
Posted
change the gamespeed on client side, will cause sync lagg.

There is no way to set gamespeed for a particular player from server side

  • Moderators
Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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