Xeno Posted November 24, 2011 Share Posted November 24, 2011 setTimer(call(getResourcename("guiText),outPutGuiText,2000,1,"*You hear ringing in your ears and you cant hear anything*",255,0,0) I gave it ago and it sorta failed... Can you help me please? Thanks. Link to comment
12p Posted November 24, 2011 Share Posted November 24, 2011 don't use call, use exports.resourceName:functionName setTimer(exports.guiText:outPutGuiText,2000,1,"*You hear ringing in your ears and you cant hear anything*",255,0,0) Link to comment
Xeno Posted November 24, 2011 Author Share Posted November 24, 2011 don't use call, use exports.resourceName:functionName setTimer(exports.guiText:outPutGuiText,2000,1,"*You hear ringing in your ears and you cant hear anything*",255,0,0) Thanks for the reply. I get an error on debug: function arguments expected near ',' and thats for this line setTimer(exports.guiText:outPutGuiText,2000,1,"*You hear ringing in your ears and you cant hear anything*",255,0,0) Link to comment
12p Posted November 24, 2011 Share Posted November 24, 2011 Try setTimer( exports.guiText:outPutGuiText, 2000, 1, "*You hear ringing in your ears and you cant hear anything*", 255, 0, 0 ) Tell me where is the error. Link to comment
Xeno Posted November 24, 2011 Author Share Posted November 24, 2011 Try setTimer( exports.guiText:outPutGuiText, 2000, 1, "*You hear ringing in your ears and you cant hear anything*", 255, 0, 0 ) Tell me where is the error. exports.guiText:outPutGuiText, In there^ Link to comment
JR10 Posted November 24, 2011 Share Posted November 24, 2011 Just do it in a function then: setTimer(function() exports.guiText:outPutGuiText("*You hear ringing in your ears and you cant hear anything*",255,0,0) end,2000,1) Link to comment
Xeno Posted November 24, 2011 Author Share Posted November 24, 2011 Just do it in a function then: setTimer(function() exports.guiText:outPutGuiText("*You hear ringing in your ears and you cant hear anything*",255,0,0) end,2000,1) That worked > Thank you both so much... 1 more thing, earlier, I made a setCameraMatrix with a setTimer, and it all worked except I couldn't seem to change the rotation of the camera? It just wasn't working? Is there a certain thing you need to do to make the rotation work, or am I doing it wrong? Link to comment
Castillo Posted November 25, 2011 Share Posted November 25, 2011 setCameraMatrix arguments are: Required Arguments thePlayer: The player whose camera is to be changed. -- Not required client side. positionX: The x coordinate of the camera's position. positionY: The y coordinate of the camera's position. positionZ: The z coordinate of the camera's position. Optional Arguments lookAtX: The x coordinate of the point the camera faces. lookAtY: The y coordinate of the point the camera faces. lookAtZ: The z coordinate of the point the camera faces. roll: The camera roll angle, -180 to 180. A value of 0 means the camera sits straight, positive values will turn it counter-clockwise and negative values will turn it clockwise. -180 or 180 means the camera is upside down. fov: the field of view angle, 0 to 180. The higher this value is, the more you will be able to see what is to your sides. Link to comment
Xeno Posted November 25, 2011 Author Share Posted November 25, 2011 setCameraMatrix arguments are: Required Arguments thePlayer: The player whose camera is to be changed. -- Not required client side. positionX: The x coordinate of the camera's position. positionY: The y coordinate of the camera's position. positionZ: The z coordinate of the camera's position. Optional Arguments lookAtX: The x coordinate of the point the camera faces. lookAtY: The y coordinate of the point the camera faces. lookAtZ: The z coordinate of the point the camera faces. roll: The camera roll angle, -180 to 180. A value of 0 means the camera sits straight, positive values will turn it counter-clockwise and negative values will turn it clockwise. -180 or 180 means the camera is upside down. fov: the field of view angle, 0 to 180. The higher this value is, the more you will be able to see what is to your sides. Thanks dude 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