Dragging random peoples when they are connecting. why? :( ( BUG ) at my server
#7

Quote:
Originally Posted by Laurey
Посмотреть сообщение
Try using foreach that looks confusing, give it a try and let me know.
With this foreach, im so very confused

I try this code.

pawn Код:
foreach(Player, i)
    {
        if(IsCopDragging[playerid] != INVALID_PLAYER_ID)
        {
            PlayerDraggedBy[IsCopDragging[playerid]] = INVALID_PLAYER_ID;
            PlayerDragged[IsCopDragging[i]] = 0;
            KillTimer(draggedtimer[playerid]);

            IsCopDragging[i] = INVALID_PLAYER_ID;
            PlayerDraggedBy[i] = INVALID_PLAYER_ID;
            PlayerDragged[i] = 0;
        }
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)