Iīm understanding
I can show the dplay_id corretly in the screen with:
var test

main loop....
draw_text(str_printf(NULL,"bps: %.0f",(double)dplay_id),20,40,COLOR_WHITE);

But, I canīt get put this inside a variable... ;(