• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Rotate/Delay problems
#1
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
My Reputation is low, help me with +1 rep if i helped you! Big Grin
  Reply
#2
Me checksta.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
[-] The following 1 user says Thank You to DidUknowiPwn for this post:
  • OzonE
  Reply
#3
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.
[Image: azuw.jpg]
  Reply
#4
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.
  Reply
#5
Who says this is 4D*?
  Reply
#6
(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?
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Release] HC respawn delay fixer Nukem 42 12,258 08-05-2013, 18:17
Last Post: mn_acer1
  Help Rotate an object, getting it to stand? JustDoingThisShit 2 627 02-10-2013, 00:50
Last Post: JustDoingThisShit
  [FIX] Mw3 server problems 99IRock 0 1,990 02-02-2013, 00:05
Last Post: 99IRock
  Hot Problems AZUMIKKEL 5 1,420 01-20-2013, 16:19
Last Post: Arteq
  Problems trying to import BO2 Camos DidUknowiPwn 3 1,004 12-27-2012, 18:11
Last Post: DidUknowiPwn
  Help Server problems (Wierd!) 99IRock 3 1,866 12-03-2012, 20:26
Last Post: 99IRock
  Help New .iwi files problems Shady360 3 1,479 11-30-2012, 13:05
Last Post: Shady360
  CoD black ops + xkMod problems chrz 7 1,970 06-01-2012, 22:15
Last Post: surtek
  addon/ error/problems hillbilly 0 667 05-12-2012, 07:49
Last Post: hillbilly
  [Request] Killstreak delay time Dumas 2 1,062 04-18-2012, 23:18
Last Post: Dumas

Forum Jump:


Users browsing this thread: 1 Guest(s)