Problem with textDraw
#1

Hello,

I have a problem.

I have a window at the bottom left that displays certain actions.

For example: "You don't have a phone" or whatever.

It displays fine but if I disconnect and reconnect I, this window is no longer displayed. I have to restart the server.

Do you know where can be the problem? If you want the code, let me know.

Thanks and sorry for my bad english.
Reply
#2

Well,obviusly we want the code...
Reply
#3

Ok, thanks.

http://pastebin.com/LkXzGJnk
Reply
#4

Well,as you can see you have in OnPlayerConnect,a function,TextDrawHideForPlayer,remove it,and it should work..
Reply
#5

remove TextDrawHideForPlayer
Reply
#6

Thank you but the problem is still not resolved.
Reply
#7

Person to give me a boost ?
Reply
#8

If you want it showing at ALL times, use OnPlayerUpdate.
pawn Код:
public OnPlayerUpdate(playerid)
{
       TextDrawShowForPlayer(playerid, ......);
       return 1;
}
Do NOT use a loop OnPlayerUpdate, or your server will be in ruins!
Reply
#9

That is there, it appears all the time but if I disconnect and reconnect I, his appearing. You think its just what you have to say?
Reply
#10

nobody ?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)