Delete 3DTextlabelid after X seconds
#4

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
pawn Код:
SetTimerEx("DeleteLabel", 15000, false, ,"i", playertextid);
Does not make sense, since it is a Playertextdraw
ii was right! (or dd)

Код:
for(new i;i<GetMaxPlayers();i++)// onplayerspawn
{
     if(i == INVALID_PLAYER_ID)continue;
     if(SomeVar[i] != 1)continue;
     new PlayerText3D:playertextid, test;
     playertextid,test = CreatePlayer3DTextLabel(i,"bla bla bla",0x008080FF,x,y,z,40.0);
     SetTimerEx("@DeleteLabel", 15000, false, "ii", i, test);
}

@DeleteLabel(id, lid); @DeleteLabel(id, lid){DeletePlayer3DTextLabel(playerid, lid);}
Try this code a try, again I'm sorry for my bad english
Reply


Messages In This Thread
Delete 3DTextlabelid after X seconds - by IKnowWhatIAmDoing - 21.08.2014, 16:34
AW: Delete 3DTextlabelid after X seconds - by CIBERKILLER - 21.08.2014, 16:59
Re: Delete 3DTextlabelid after X seconds - by Sawalha - 21.08.2014, 17:06
AW: Re: Delete 3DTextlabelid after X seconds - by CIBERKILLER - 21.08.2014, 17:28
Re: Delete 3DTextlabelid after X seconds - by IKnowWhatIAmDoing - 21.08.2014, 17:28

Forum Jump:


Users browsing this thread: 2 Guest(s)