Textdraw for a player
#1

Hi, im trying to show a textdraw for each player, but i can't get it to show to only a player... this is what i've done :

at the top :
Код:
new Text:TextDrawsd[MAX_PLAYERS];
and above :
Код:
public OnPlayerConnect(playerid) {
    TextDrawsd[playerid] = TextDrawCreate(549.0,310.0," ");
    TextDrawShowForPlayer(playerid,TextDrawsd[playerid]);
	return 1;
}

public OnPlayerDisconnect(playerid, reason) {
    TextDrawDestroy(TextDrawsd[playerid]);
    return 1;
}
im updating the textdraw with :
Код:
TextDrawSetString(TextDrawsd[playerid], "Some text here");
But all the textdraw show to the same player and all others players don't see any textdraw. how can i fix this?

Thank you for your help
Reply


Messages In This Thread
Textdraw for a player - by gagnier91 - 09.12.2011, 00:31
Re: Textdraw for a player - by Dragony92 - 09.12.2011, 00:42
Re : Textdraw for a player - by gagnier91 - 09.12.2011, 01:00
Re: Textdraw for a player - by Dragony92 - 09.12.2011, 01:04
Re : Textdraw for a player - by gagnier91 - 09.12.2011, 01:13
Re: Textdraw for a player - by Dragony92 - 09.12.2011, 01:20
Re : Textdraw for a player - by gagnier91 - 09.12.2011, 01:23
Re : Textdraw for a player - by gagnier91 - 09.12.2011, 02:00

Forum Jump:


Users browsing this thread: 3 Guest(s)