TextDraw help
#1

hello hello i have create atextdraw and i do like this when someone enter checkpoint

its show him textdraw and i type


Код:
public OnPlayerLeaveCheckpoint(playerid)
{
	if(getCheckpointType(playerid) == 99 && robbingstore[playerid] >=1) {
	TextDrawHideForPlayer(playerid,Textdraw2);
	SendClientMessage(playerid,COLOR_ERROR,"lil bar robbery failed, you left the checkpoint");
	}
	return 1;
}
but when i leave checkpoint its stay give me the Textdraw help here is the test draw code

new Text:Textdraw2;

Код:
   	   if(getCheckpointType(playerid) == 99 || getCheckpointType(playerid) == 99)
       {
       TextDrawShowForPlayer(playerid,Textdraw2);
       Textdraw2 = TextDrawCreate(151.000000,136.000000,"Type /roblilbar to rob lil bar");
       TextDrawAlignment(Textdraw2,0);
       TextDrawBackgroundColor(Textdraw2,0x000000ff);
	   TextDrawFont(Textdraw2,3);
	   TextDrawLetterSize(Textdraw2,0.500000,2.000000);
	   TextDrawColor(Textdraw2,0xffffffff);
	   TextDrawSetOutline(Textdraw2,1);
	   TextDrawSetProportional(Textdraw2,1);
	   TextDrawSetShadow(Textdraw2,1);
	   return 1;
       }
Reply


Messages In This Thread
TextDraw help - by [MKD]Max - 05.07.2011, 19:29
Re: TextDraw help - by [MKD]Max - 05.07.2011, 19:56
Re: TextDraw help - by =WoR=Varth - 05.07.2011, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)