MAX_PLAYERS error, help someone?
#1

ok, im making a random disco time, (yeah laff) and only ID:0 sees the dialog, heres my code.


Код:
public RDT()
{
  GameTextForAll("~B~Random ~R~Disco ~Y~TIME!", 5000,6);
  for(new i=0; i<MAX_PLAYERS; ++i)
  {
  ShowPlayerDialog(i,2,0,"RANDOMNESS","Would you like to participate in random disco time?","Yes","No");
  return 1;
  }
  return 0;
  }
Reply
#2

Код:
for(new i=0; i<MAX_PLAYERS; ++i)
i++
Reply
#3

nope still, only ID 0 sees the dialog.
Reply
#4

Gets errors
Reply
#5

Same issue, only ID:0 can see it, the gametext everyone see's but the dialog is not showing up.
Reply
#6

i know, i used your code, and the dialog still doesnt show. could dialog not support for all players at once?
Reply
#7

Wheres his house, i will jogg over their. XD
Reply
#8

Quote:
Originally Posted by Seif_
It's i++ and not ++i
Its either or. Both of them work.
Reply
#9

pawn Код:
public RDT()
{
    GameTextForAll("~B~Random ~R~Disco ~Y~TIME!", 5000,6);
    for(new i=0; i<MAX_PLAYERS; i++) ShowPlayerDialog(i,2,0,"RANDOMNESS","Would you like to participate in random disco time?","Yes","No");
}
Reply
#10

Dice's code worked, thanks dice.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)