Jump to content

Matrix cams


CapY

Recommended Posts

Posted

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 

Posted
CapY it looks like you are making us make the script for you, we just showed you how to do this, can't you apply what you just learnt?

Use guiSetVisible

the script?

looks like he's making us script his whole server, since he makes new topics everyday

Posted

I don't care if I am rude, but I have to say it, you never learn from your mistakes.

Same question is asked daily.

Same problems.

Posted

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.

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