boro Posted July 31, 2013 Share Posted July 31, 2013 Hi i made script for show message but this don't wok why ? function welcometext () welcomeTextDisplay = textCreateDisplay () welcome = textCreateTextItem ( "Binds[F1freeroam panel, F2 info panel]", 0.5, 0.2, high, 0, 0, 0, 180, 2, "center", "top" ) textDisplayAddText ( welcomeTextDisplay, welcome ) setTimer( textDestroyTextItem, 10000 , 1, welcome ) end Link to comment
Castillo Posted July 31, 2013 Share Posted July 31, 2013 You need more functions, check the wiki. Link to comment
boro Posted July 31, 2013 Author Share Posted July 31, 2013 you mean Observer ? textDisplayAddObserver ( welcomeTextDisplay ) function welcometext () textDisplayAddObserver ( welcomeTextDisplay ) welcomeTextDisplay = textCreateDisplay () welcome = textCreateTextItem ( "Binds[F1freeroam panel, F2 info panel]", 0.5, 0.2, high, 0, 0, 0, 180, 2, "center", "top" ) textDisplayAddText ( welcomeTextDisplay, welcome ) setTimer( textDestroyTextItem, 10000 , 1, welcome ) end but still dont work Link to comment
Castillo Posted July 31, 2013 Share Posted July 31, 2013 Because you did it wrong, check the wiki. 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