Jump to content

[HELP] Bind and change camera


Cizzo

Recommended Posts

Posted

I'm makeing gamemode and i need your help cuz i'm stuck.I need to make changing cameras with bind keys like in cdm when you join you can select team with arrow_l, arrow_r and when you press "enter" you spawn,but i'm aksing you how to make these camera change with bind keys.

Posted

You don't get it i'm know which events i need to use,but i'm asking you how to combine these event bindkey and setcameramatrix

Posted
function test(player)
setCameraMatrix(player,0,0,0,1,1,1)
end
addCommandHandler("test",test)
for i,v in ipairs(getElementsByType("player")) do
bindKey(v,"arrow_l","down","test")
end

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