Thread: Hiding gui
View Single Post
  #2  
Old 09-26-2004, 10:34 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I don't see problems in the concent, but in the implementation:
Bad is the usage of

screenheight-=1

That will cause problems for the compiler, I guess you meant "screenheight - 1" ?
The "triggeraction 0,0,serverside,-GUI;" should be moved outside the timeout so
that it doesn't lag the game, e.g. if (playerenters) triggeraction 0,0,serverside,-GUI;