Jump to content

Matrix cams


CapY

Recommended Posts

Okay i've fixed it , one more problem, i have instructions window , but that window appears when someone joins, i want it to appear after teleport GUI click .

NOTE:This is just a part of the code.

function setCameraOnPlayerJoin() 
     -- set the player's camera to a fixed position, looking at a fixed point 
     addEventHandler("onClientGUIClick", Button1[1],camTarget, false ) 
     addEventHandler("onClientGUIClick", Btn2[2],camTarget, false ) 
     addEventHandler("onClientGUIClick", Btn3[3],camTarget, false ) 
     addEventHandler ( "onClientGUIClick", Button1[1], stopCamSwitch, false) 
     addEventHandler ( "onClientGUIClick", Btn2[2], stopCamSwitch, false) 
     addEventHandler ( "onClientGUIClick", Btn3[3], stopCamSwitch, false) 
        Label1 = {} 
        Grid = {} 
  
     Grid[1] = guiCreateGridList(0.6969,0.2305,0.3031,0.1357,true) 
     guiGridListSetSelectionMode(Grid[1],2) 
     Label1[1] = guiCreateLabel(0.0284,0.223,0.9665,0.554,"While you're playing , to keep you interested , just press F1 and \nyou have some nice features there, but that area is still\nunfinished.\n\nHowewer.. you can expect more features on it soon! ",true,Grid[1]) 
     guiSetFont(Label1[1],"default-bold-small") 
     switchMatrixCams ( ) 
     guiSetVisible(Grid[1],false) 
     timerGrid = setTimer(gridTimer,10000,1) 
end 
addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),setCameraOnPlayerJoin) 
  
function stopCamSwitch ( ) 
killTimer ( camTimer ) 
cancelEvent () 
end 
  
  
function gridTimer() 
killTimer(timerGrid) 
guiSetVisible(Grid[1],true) 
end 

Link to comment

Simple solution is to just stop replying to his incessant posts, then. I'd tried to draw attention to this a few weeks ago in the hopes that people would come to the same conclusion as I did, that this kid is just exploiting the generosity of the community in getting others to do his work for him. He's posting stuff literally every day, just stop writing his scripts for him and he'll have to figure it out on his own like everyone else does. He'll be better off for it.

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