Sup Homies...textdraws under onplayerconnect :/
#1

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.
Reply
#2

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);
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)