Jump to content

setGameSpeed Just For 1 Person


Recommended Posts

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

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
Guest Guest4401
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
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

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...