26.06.2014, 13:56
Hi guys, I have a problem with a textdraw, a simple one, it doesn't show up even after I called it with TextDrawShowForPlayer everywhere, when I connect, it shows, but after I spawn it doesn't, I put TextDrawShowForPlayer at OnPlayerSpawn but no effects, then I tried to make a command to show it to see if it works (I use ZCMD) and when I spawned and typed the command the Textdraw appeared then disappeared very fast, help me, I need to fix this really quick..
Codes:
Codes:
pawn Код:
new Text:FRICNRInfo[MAX_PLAYERS];
pawn Код:
for(new p = 0; p < MAX_PLAYERS; p++)
{
FRICNRInfo[p] = TextDrawCreate(18.000000, 428.000000, "Fri's CnR v1.0 - Forum: Not Yet!");
TextDrawAlignment(FRICNRInfo[p], 0);
TextDrawBackgroundColor(FRICNRInfo[p], 0x000000ff);
TextDrawFont(FRICNRInfo[p], 2);
TextDrawLetterSize(FRICNRInfo[p], 0.199999, 0.899999);
TextDrawColor(FRICNRInfo[p], 0xffffffff);
TextDrawSetOutline(FRICNRInfo[p], 1);
TextDrawSetProportional(FRICNRInfo[p], 1);
TextDrawSetShadow(FRICNRInfo[p], 1);
}
pawn Код:
TextDrawShowForPlayer(playerid, FRICNRInfo[playerid]);
TextDrawSetString(FRICNRInfo[playerid], "Fri's CnR v1.0 - Forum: Not Yet!");