Lanphrost Posted February 23, 2009 Author Share Posted February 23, 2009 Ok, so I'm editing how the message 'player has joined the game' appears so that it only appears on the map the player appears on (because in a large game people will be constantly logging on and off, and the chatbox isn't very big) so I made this, but I doubt it's right, and I can't test it:Call MapMsg(GetPlayerMap)(GetPlayerName(Index) & " has joined " & GameName & "!", GREY) Link to comment Share on other sites More sharing options...
xeross Posted February 23, 2009 Share Posted February 23, 2009 Call MapMsg(GetPlayerMap(Index), GetPlayerName(Index) & " has joined " & GameName & "!", GREY)That has a better chance of working Link to comment Share on other sites More sharing options...
Lanphrost Posted February 23, 2009 Author Share Posted February 23, 2009 Thanks I'll try it Link to comment Share on other sites More sharing options...
xeross Posted February 23, 2009 Share Posted February 23, 2009 Just study the command list in the Announcements forum Link to comment Share on other sites More sharing options...
Lanphrost Posted February 23, 2009 Author Share Posted February 23, 2009 Yeah, that's how I ended up with the crappy line though XD it doesn't really teach grouping commands. And that line did work perfectly, so thanks a lot ;D Link to comment Share on other sites More sharing options...
xeross Posted February 23, 2009 Share Posted February 23, 2009 Grouping Commands ?Could you explain what you mean by that. Link to comment Share on other sites More sharing options...
Lanphrost Posted February 23, 2009 Author Share Posted February 23, 2009 Oh nvm, all I was missing was (index xD for a moment I thought that there was another command inside the ()… I really should start sleeping more Link to comment Share on other sites More sharing options...
xeross Posted February 23, 2009 Share Posted February 23, 2009 Well i'm going to catch up on that now so goodnight, enjoy your script Link to comment Share on other sites More sharing options...
unnown Posted February 24, 2009 Share Posted February 24, 2009 Call MapMsg(GetPlayerMap)(GetPlayerName(Index) & " has joined " & GameName & "!", GREY)actually you also missed a , between GetPlayerMap) and (GetPlayerName(Index) 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