[HELP] Up to ID a bug
#1

Hello, I begin to forgive the English, because I'm using the ****** translator.

My problem is: I have mapicons, timers, TextDraw rank in my mode, my only problem is that an ID buga everything up .. works only for 0 out, what could it be?
Reply
#2

You need to use foreach to show mapicons to everyone, same for timers, for TextDraws use need to use TextDrawShowForAll
Reply
#3

foreach or:
pawn Код:
for( new i = 0; i <= MAX_PLAYERS; i ++ )
Reply
#4

But it's better to use foreach because foreach is calling only for connected user ids...
Reply
#5

Quote:
Originally Posted by aRoach
Посмотреть сообщение
foreach or:
pawn Код:
for( new i = 0; i <= MAX_PLAYERS; i ++ )
That is wrong, it should be
pawn Код:
for( new i = 0; i < MAX_PLAYERS; i ++ )
Quote:
Originally Posted by Dragony92
Посмотреть сообщение
But it's better to use foreach because foreach is calling only for connected user ids...
We're talking about mere nanoseconds here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)