Sup Homies...textdraws under onplayerconnect :/ - 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: Sup Homies...textdraws under onplayerconnect :/ (
/showthread.php?tid=570106)
Sup Homies...textdraws under onplayerconnect :/ -
Ritzy2K - 05.04.2015
Hey im not at all sure whats causing this.
actually it isnt a problem everything is working fine but still
my server uses a lot of textdraw..and a class selection like of a famous tdm server (m not sure if i can name it)
Under OnPlayerConnect im showing the textdraws and setting a settimerex to remove the textdraws later
pawn Код:
TextDrawShowForPlayer(playerid, entry0);
TextDrawShowForPlayer(playerid, entry1);
SetTimerEx("EntryTD", 5000, 0, "i",playerid);
like that ^ all works great just the textdraw shows a bit late

the textdraw barely appear for like 1 second..im not sure how do i show them up right after a player connects..? i cant think of anything.
Re: Sup Homies...textdraws under onplayerconnect :/ -
WhoIsYourDaddy - 05.04.2015
Some place at your GM.
Код:
forward DeleteEntryTD(playerid);
public DeleteEntryTD(playerid)
{
TextDrawHideForPlayer(playerid, entry0);
TextDrawHideForPlayer(playerid, entry1);
return 1;
}
To
OnPlayerConnect:
Код:
TextDrawShowForPlayer(playerid, entry0);
TextDrawShowForPlayer(playerid, entry1);
SetTimerEx("DeleteEntryTD", 5000, 0, "i",playerid);
Re: Sup Homies...textdraws under onplayerconnect :/ -
Ritzy2K - 05.04.2015
nvm solved...im delaying the login screen so the textdraw is for a bit longer time..
and also mate u didnt got my issue but thanks for trying to help +rep.