Problem with textDraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with textDraw (
/showthread.php?tid=369890)
Problem with textDraw -
DexX39 - 18.08.2012
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.
Re: Problem with textDraw -
Cjgogo - 18.08.2012
Well,obviusly we want the code...
Re : Problem with textDraw -
DexX39 - 18.08.2012
Ok, thanks.
http://pastebin.com/LkXzGJnk
Re: Problem with textDraw -
Cjgogo - 18.08.2012
Well,as you can see you have in OnPlayerConnect,a function,TextDrawHideForPlayer,remove it,and it should work..
Re: Problem with textDraw -
XStormiest - 18.08.2012
remove TextDrawHideForPlayer
Re : Problem with textDraw -
DexX39 - 18.08.2012
Thank you but the problem is still not resolved.
Re : Problem with textDraw -
DexX39 - 18.08.2012
Person to give me a boost ?
Re: Problem with textDraw -
Sandiel - 18.08.2012
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!
Re : Problem with textDraw -
DexX39 - 18.08.2012
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?
Re : Problem with textDraw -
DexX39 - 18.08.2012
nobody ?