[HELP]Texdraw score help
#2

Make sure you have
pawn Код:
new
    Text: Textdraw5[MAX_PLAYERS];
Instead of
pawn Код:
new
    Text: Textdraw5;
If you want to create a TextDraw just for a player, then use this :
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw

e.g :
pawn Код:
new
    PlayerText: Textdraw5[ MAX_PLAYERS ];

public OnPlayerConnect( playerid )
{
    Textdraw5[ playerid ] = CreatePlayerTextDraw .....
    PlayerTextDrawShow( playerid, Textdraw5[ playerid ] )
    return 1;
}

public OnPlayerDeath( playerid, killerid, reason )
{
    PlayerTextDrawSetString( playerid, Textdraw5[ playerid ], "Hello" );
    return 1;
}
Reply


Messages In This Thread
[HELP]Texdraw score help - by Ryder1997 - 17.02.2013, 10:18
Re: [HELP]Texdraw score help - by greentarch - 17.02.2013, 10:22
Re: [HELP]Texdraw score help - by Ryder1997 - 17.02.2013, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)