Cizzo Posted October 27, 2009 Share Posted October 27, 2009 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. Link to comment
Dark Dragon Posted October 27, 2009 Share Posted October 27, 2009 bindKey setCameraMatrix btw bumping your own topic after 5 hours is ridiculous. Link to comment
Cizzo Posted October 27, 2009 Author Share Posted October 27, 2009 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 Link to comment
Dark Dragon Posted October 27, 2009 Share Posted October 27, 2009 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 Link to comment
Cizzo Posted October 27, 2009 Author Share Posted October 27, 2009 thanks you very much 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