Help me please!
#7

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
First of all learn how to create textdraw for players with CreatePlayerTextDraw
https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw



EDIT:
try this
1st Step:
pawn Код:
new PlayerText:XPS[MAX_PLAYERS]; //At top of script
2nd Step:
pawn Код:
public OnPlayerConnect(playerid)
{
    XPS[playerid] = CreatePlayerTextDraw(playerid, 310, 432, " ");
    PlayerTextDrawShow(playerid, XPS[playerid]);
    return 1;
}
Update Step:
pawn Код:
new newxp[246];
format(newxp, sizeof(newxp), "Xp: %d", XP[playerid]);
PlayerTextDrawSetString(playerid, XPS[playerid], newxp);
BUT..
now it's not showing for players!!!!!!!!!!!!!

IronMen
Reply


Messages In This Thread
Help me please! - by ironmen - 28.09.2015, 12:39
Re: Help me please! - by IceBilizard - 28.09.2015, 12:44
Re: Help me please! - by nezo2001 - 28.09.2015, 12:46
Re: Help me please! - by karemmahmed22 - 28.09.2015, 12:48
Re: Help me please! - by ironmen - 28.09.2015, 12:51
Re: Help me please! - by IceBilizard - 28.09.2015, 12:53
Re: Help me please! - by ironmen - 28.09.2015, 13:04
Re: Help me please! - by IceBilizard - 28.09.2015, 13:51
Re: Help me please! - by PrO.GameR - 28.09.2015, 15:50
Re: Help me please! - by ironmen - 29.09.2015, 12:26

Forum Jump:


Users browsing this thread: 2 Guest(s)