28.08.2010, 10:47
Ok, but if i create a 3dtextlabel, and i put it in a variable, and i want to delete it after 5 seconds with the SetTimerEx, will be that possible ?
Hiddos, are you so sure ?
Parameters:
(text[], color, Float:X, Float:Y, Float:Z, Float: DrawDistance, virtualworld, testLOS)
Create3DTextLabel(ReturnName(playerid),COLOR_WHITE ,pos[0],pos[1],pos[2]-0.3,30.0,0);
text[] = ReturnName(playerid)
color = COLOR_WHITE
Float:X = pos[0]
Float:Y = pos[1]
Float:Z = pos[2]-0.3
Float: DrawDistance = 30.0
virtualworld = 0
testLOS = it's aleardy setted to 0
Quote:
@Mauzen: Create3DTextLabel DOES returns the ID of that textdraw
pawn Код:
|
Parameters:
(text[], color, Float:X, Float:Y, Float:Z, Float: DrawDistance, virtualworld, testLOS)
Create3DTextLabel(ReturnName(playerid),COLOR_WHITE ,pos[0],pos[1],pos[2]-0.3,30.0,0);
text[] = ReturnName(playerid)
color = COLOR_WHITE
Float:X = pos[0]
Float:Y = pos[1]
Float:Z = pos[2]-0.3
Float: DrawDistance = 30.0
virtualworld = 0
testLOS = it's aleardy setted to 0