Achsoooo, schreib das doch hahahaha xD
Mach es so:
C
if(issuerid != INVALID_PLAYER_ID)
{
new string[32],Float:x,Float:y,Float:z,Float:t;
GetPlayerLastShotVectors(issuerid,t,t,t,x,y,z);
format(string,sizeof(string),"DMG: %.02f",amount);
SetTimerEx("@DeleteDmgDraw",1000*10,0,"i",_:Create3DTextLabel(string, 0xFF0000FF, x,y,z, 20.0, GetPlayerVirtualWorld(playerid), 0)); //1000*10 = 10 Sekunden
}
//Und dann außerhalb:
@DeleteDmgDraw(i);@DeleteDmgDraw(i) {
Delete3DTextLabel(Text3D:i);
}
Alles anzeigen