Textdraw issues
#4

This is how i added it for my checkpoint.


Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
		Textdraw0 = TextDrawCreate(351.000000, 198.000000, "/buyheal - To Heal Yourself ($1000) /Buycure - To Cure Yourself ($4500) /healall - To heal/Cure Yourself ($5000)");
		TextDrawBackgroundColor(Textdraw0, 255);
		TextDrawFont(Textdraw0, 2);
		TextDrawLetterSize(Textdraw0, 0.360000, 1.500000);
		TextDrawColor(Textdraw0, 16777215);
		TextDrawSetOutline(Textdraw0, 0);
		TextDrawSetProportional(Textdraw0, 1);
		TextDrawSetShadow(Textdraw0, 1);
		TextDrawUseBox(Textdraw0, 1);
		TextDrawBoxColor(Textdraw0, 255);
		TextDrawTextSize(Textdraw0, 644.000000, 1377.000000);

    if (gCheckpoint[18] == checkpointid) {
    TextDrawShowForPlayer(playerid, Textdraw0);
 	}
return 1;
}
And for onplayerleavecheckpoint its


Код:
	else if (gCheckpoint[18] == checkpointid) {
	TextDrawHideForPlayer(playerid, Textdraw0);
	}
Reply


Messages In This Thread
Textdraw issues - by MWF2 - 21.05.2010, 21:36
Re: Textdraw issues - by [HiC]TheKiller - 21.05.2010, 22:21
Re: Textdraw issues - by MWF2 - 21.05.2010, 22:37
Re: Textdraw issues - by MWF2 - 21.05.2010, 23:09
Re: Textdraw issues - by MWF2 - 21.05.2010, 23:48
Re: Textdraw issues - by NewTorran - 22.05.2010, 10:48
Re: Textdraw issues - by MWF2 - 22.05.2010, 15:55
Re: Textdraw issues - by MWF2 - 24.05.2010, 19:34
Re: Textdraw issues - by MWF2 - 25.05.2010, 22:19
Re: Textdraw issues - by MWF2 - 27.05.2010, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)