It's Not Hiding!
#7

Quote:
Originally Posted by Osamakurdi
Посмотреть сообщение
My Code:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	speed[playerid] = TextDrawCreate(500, 373, "SPEED:");
	TextDrawUseBox(speed[playerid], 0);
	TextDrawFont(speed[playerid], 3);
	TextDrawBoxColor(speed[playerid], 0x252826FF);
	format(str, sizeof(str), "SPEED:~y~%i", GetPlayerVehicleSpeed(playerid));
	TextDrawSetString(speed[playerid], str);
	TextDrawShowForPlayer(playerid, speed[playerid]);
	SetTimer("speedtime",1000, 0);
	/////////////////////////////////////

	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
        TextDrawDestroy(speed[playerid]);
	TextDrawHideForPlayer(playerid, speed[playerid]);
	return 1;
}
Post the code of (new Text: ) too
Reply


Messages In This Thread
It's Not Hiding! - by Osamakurdi - 01.02.2018, 12:56
Re: It's Not Hiding! - by Mugala - 01.02.2018, 13:02
Re: It's Not Hiding! - by Osamakurdi - 01.02.2018, 13:11
Re: It's Not Hiding! - by solstice_ - 01.02.2018, 13:19
Re: It's Not Hiding! - by ISmokezU - 01.02.2018, 13:20
Re: It's Not Hiding! - by Osamakurdi - 01.02.2018, 13:23
Re: It's Not Hiding! - by solstice_ - 01.02.2018, 13:24
Re: It's Not Hiding! - by Osamakurdi - 01.02.2018, 13:27
Re: It's Not Hiding! - by ISmokezU - 01.02.2018, 13:36
Re: It's Not Hiding! - by Mugala - 01.02.2018, 14:27

Forum Jump:


Users browsing this thread: 3 Guest(s)