ItsMods
Help Rotate/Delay problems - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: Help Rotate/Delay problems (/Thread-Help-Rotate-Delay-problems.html)



Rotate/Delay problems - Puffiamo - 08-30-2012

Hi guys, im trying to make my first mw3 server plugin,
The problem is here:
Code:
entity.OnInterval(2000, player => { foreach (string sOutput in arrText) { player.AfterDelay(2000, giocatore => { littleMessage.SetText(sOutput); }); } return false; });

The problem is that, it always show the last text of the array, whats wrong with my plugin? Sad


RE: Rotate/Delay problems - DidUknowiPwn - 08-30-2012

Me checksta.


RE: Rotate/Delay problems - zxz0O0 - 08-30-2012

Does it only show one text? Did you verify your array? What's giocatore?

Maybe check how many times the code in the foreach loop is processed.


RE: Rotate/Delay problems - d0h! - 08-30-2012

we dont support alternate ways of playing the game like 4d* or te*no

closed

This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.


Rotate/Delay problems - SuperNovaAO - 08-30-2012

Who says this is 4D*?


RE: Rotate/Delay problems - d0h! - 08-30-2012

(08-30-2012, 09:59)SuperNovaAO Wrote: Who says this is 4D*?

Pozzuh said its i5wm code

Pozzuh - 30-08 10:28 -- It wouldn't work on the server addon
d0h! - 30-08 10:28 -- ok
Pozzuh - 30-08 10:28 -- That code is iw5m
d0h! - 30-08 10:27 -- is it related to it?