View Single Post
  #6  
Old 04-23-2006, 05:39 AM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
***** @ i*1;

Just by looking at what you're doing, it looks like you're trying to make a sliding effect. That would look like this:

NPC Code:
//#CLIENTSIDE
if (weaponfired) {
for (i=playermp;i<100;i++) {
sleep 0.1;
playermp=i;
}
}



But in your case, you probably want to do this:

NPC Code:
//#CLIENTSIDE
if (created) timeout = 0.05;

if (timeout) {
playermp = 100;
timeout = 0.05;
}

Reply With Quote