[ BUG ] SelectObject
#1

I found two bugs and they should be fixed

1. When you use SelectObject and restart your GM /Server the Cursor won't be hided.
2. When you use SelectObject and use SelectTextdraw you aren't able to click on a Textdraw or an Object
Reply
#2

Quote:
Originally Posted by NetKiel
Посмотреть сообщение
I found two bugs and they should be fixed

1. When you use SelectObject and restart your GM /Server the Cursor won't be hided.
2. When you use SelectObject and use SelectTextdraw you aren't able to click on a Textdraw or an Object
1. OnGameModeInit:
Код:
for( new i; i < MAX_PLAYERS; i ++ )
{
    CancelEdit( i );
    CancelSelectTextDraw( i );
}
or just press ESC.
2. Before you use SelectObject put
Код:
CancelSelectTextDraw( playerid );
Before you use SelectTextDraw put
Код:
CancelEdit( playerid );
Easily fixable.
Reply
#3

Yeah I know, how to fix.

But it shouldn't happen...
Reply
#4

Yeah this should be fixed. CancelEdit should be called when textdraw selected is enabled and vise-versa.
Reply
#5

Wouldn't it make more sense to put that OnPlayerConnect - not ongamemodeinit...
Reply
#6

Found a new Bug.

When you use SelectObject and use SelectTextdraw and press ESC till you get to the menu you won't be abel to use it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)