obj/HUD/LowCPU
layer=11
icon='TextGold.dmi'
mouse_opacity=0
var/OrigScreenLoc
var/OrigX;var/OrigPixX
var/OrigY;var/OrigPixY
New(hudx,hudxpix,hudy,hudypix,letter)
src.icon_state=letter
src.OrigX=hudx;src.OrigPixX=hudxpix
src.OrigY=hudy;src.OrigPixY=hudypix
src.screen_loc="[hudx]:[hudxpix],[hudy]:[hudypix]"
src.OrigScreenLoc=src.screen_loc
mob/proc/UpdateHUDText(var/ID,var/NewText)
var/client/C=src.client
if(C)
var/firstpos=0
NewText="[NewText]"
if(C.mob.LastTextIDs[ID]==NewText) return
C.mob.LastTextIDs[ID]=NewText
if(!(ID in C.mob.ObjectIDs)) {C.mob.ObjectIDs+=ID;C.mob.ObjectIDs[ID]=list()}
var/list/IdList=C.mob.ObjectIDs["[ID]"]
C.screen-=IdList
var/SlimOffset=0
while(C.mob)
firstpos+=1
var/letter=copytext(NewText,firstpos,firstpos+1)
if(!letter) return
if(firstpos>IdList.len) return
var/obj/HUD/LowCPU/O=IdList[firstpos]
if(O)
O.icon_state=letter
var/LowOffset=LowLetter(letter)*2
if(SlimOffset || LowOffset) O.screen_loc="[O.OrigX]:[O.OrigPixX-SlimOffset],[O.OrigY]:[O.OrigPixY-LowOffset]"
else O.screen_loc=O.OrigScreenLoc
if(SlimLetter(letter)) SlimOffset+=4
C.screen+=O
sleep(1)
mob/proc/WriteHUDText(var/hudx,var/hudxpix,var/hudy,var/hudypix,var/ID,var/NewText)
var/client/C=src.client
if(C)
var/firstpos=0
var/PixelSpace=6
NewText="[NewText]"
var/list/IdList=list()
src.LastTextIDs[ID]="/i"
if(!(ID in C.mob.ObjectIDs)) {C.mob.ObjectIDs+=ID;C.mob.ObjectIDs[ID]=list()}
for(var/obj/O in C.mob.ObjectIDs["[ID]"]) del O
while(C.mob)
firstpos+=1
var/letter=copytext(NewText,firstpos,firstpos+1)
if(!letter) {C.mob.ObjectIDs["[ID]"]=IdList;break}
var/obj/HUD/LowCPU/O=new(hudx,hudxpix,hudy,hudypix,letter)
C.screen+=O
IdList+=O
hudxpix+=PixelSpace
if(hudxpix>=32)
hudx+=1;hudxpix-=32
Problem description:For somereason it is only showing 9 letters no more then that.