View Single Post
  #2  
Old 01-19-2005, 08:02 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
for this purpose you will want to use a timeout loop
a basic timeout loop on the clientside would be something like

PHP Code:
//#CLIENTSIDE
if (created) {
  
// perhaps initialize some vars here since you will need some variables for this script
}
if (
playerenters || timeout) {
  
// code here
  
timeout 0.05;

you will want to increase and decrease your size variable

perhaps set a variable saying whether the size is increasing or decreasing, then once it reaches a certain size, make it start decreasing

hopefully you understand what I am saying
__________________

Reply With Quote