Kirby Lord Posted June 12, 2009 Author Share Posted June 12, 2009 Ok I'm makinga jail script, and when the person you jail is jailed, i want it to call a globalmsg "So and so has been jailed"How can I do that? Link to comment Share on other sites More sharing options...
The Oracle Posted June 12, 2009 Share Posted June 12, 2009 Call GlobalMsg("Your text here",1)i think Link to comment Share on other sites More sharing options...
Owen F Posted June 12, 2009 Share Posted June 12, 2009 it needs &Getplayernamenot that exactly, but close to. (all that does is display that persons name)I cant express this enough:CASE SeNsItIvE!So it isCall GlobalMsg("____",1) Link to comment Share on other sites More sharing options...
The Oracle Posted June 12, 2009 Share Posted June 12, 2009 If you want it to display their name do thisCall GlobalMsg(GetPlayerName(Index) & " has been jailed", 1) Link to comment Share on other sites More sharing options...
Owen F Posted June 12, 2009 Share Posted June 12, 2009 Yeah, that's what i meant. Link to comment Share on other sites More sharing options...
balliztik1 Posted June 12, 2009 Share Posted June 12, 2009 Scripts aren't case-sensitive, though. At least not yet. In Java they will be. It's good practice to do so anyway. Link to comment Share on other sites More sharing options...
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