SA-MP Forums Archive
Textdraws mixed up - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Textdraws mixed up (/showthread.php?tid=250661)



Textdraws mixed up - s1k - 24.04.2011

So I have some text draws that are appearing in others

Like, my time (clock) will be set as inside the wrong text draw. (E.g: Clock time inside the MOTD)

Could this because on some textdraws im doing

pawn Код:
Textdraw[playerid] = CreateTextDraw(...

pawn Код:
SetPVarInt(playerid, "textdraw", _:CreateTextDraw(...

pawn Код:
Textdraw= CreateTextDraw(...
all different

Thanks


Re: Textdraws mixed up - Joe Staff - 24.04.2011

If you can't find any physical problem, try this
pawn Код:
public OnGameModeInit()
{
    while(TextdrawCreate(":",0,0)==0) continue;
}
A frequent issue I have is with the deletion and creation causing textdraws to change places


Re: Textdraws mixed up - s1k - 24.04.2011

What will that do SilentHuntR?


Re: Textdraws mixed up - s1k - 24.04.2011

bump
edit: silenthunter: that code doesnt even work