View Single Post
  #4  
Old 04-08-2003, 08:44 AM
Knuckles Knuckles is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 580
Knuckles is on a distinguished road
Send a message via AIM to Knuckles
Quote:
Originally posted by screen_name
Looky, from 71 lines to 13. Loops and mathematics are amazing aren't they?
NPC Code:

//#CLIENTSIDE
if (created || timeout) {
timeout = .05;
for (a=0;a<22;a++) {
i = (a+int(a/21))*3;
showpoly a,{playerx,i,i,playery+3};
showpoly a+22,{i,playerx,playery+3,i};
changeimgcolors a,random(0,1),random(0,1),random(0,1),1;
changeimgcolors a+22,random(0,1),random(0,1),random(0,1),1;
changeimgvis a,0;
changeimgvis a+22,0;
}
}

Lmao... and the thing looks cool ;o
__________________
Knuckles
"They say 60% of the time, it works everytime!"
Reply With Quote