cheatking Posted December 4, 2008 Author Share Posted December 4, 2008 This isn't working no edits to source.Sub TimedEvent(Hours, Minutes, Seconds)If Seconds = 1 ThenCall MapMsg(GetPlayerMap(index),"hi", WHITE)End IfEnd SubI'm not shure why it ain't working. Link to comment Share on other sites More sharing options...
AdrianC Posted December 4, 2008 Share Posted December 4, 2008 Why not just Call PlayerMsg? Link to comment Share on other sites More sharing options...
dg1423 Posted December 5, 2008 Share Posted December 5, 2008 lol, there's no index in that sub, lol. Link to comment Share on other sites More sharing options...
DarkMazer Posted December 5, 2008 Share Posted December 5, 2008 @dg1423:> lol, there's no index in that sub, lol.Darn, I got beat to it.Remember to read what parameters are used in the sub. In this case, Hours, Minutes, and Seconds. If you want to use any other variables, you'll have to find a way to find them yourself. Link to comment Share on other sites More sharing options...
cheatking Posted December 5, 2008 Author Share Posted December 5, 2008 Lol I kep forgetting that. Link to comment Share on other sites More sharing options...
cheatking Posted December 5, 2008 Author Share Posted December 5, 2008 So any work arounds? non source? Link to comment Share on other sites More sharing options...
DarkMazer Posted December 5, 2008 Share Posted December 5, 2008 You could use GlobalMsg, which doesn't need an index value. Link to comment Share on other sites More sharing options...
cheatking Posted December 5, 2008 Author Share Posted December 5, 2008 Well theres anouther code i'm using. For my pet script. It needs index. Link to comment Share on other sites More sharing options...
DarkMazer Posted December 6, 2008 Share Posted December 6, 2008 You could try using timers instead, or you could do it for all player indexes, like this:```Dim IndexFor Index = 1 To MAX_PLAYERS 'do somethingNext``` 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