View Single Post
  #6  
Old 04-03-2002, 10:34 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by Python523

easy to get around it, just set a var and increase it by one everytime time the function is called, increase it by one and when the function is greater than a certain number, make it so it wont call it
ya i knew bout that....but it would be alot easyer if i had somthing like...
NPC Code:

if (playerenters||timeout){
timeout=0.05;
ShownameGoboom();}
if (playertouchsme){
endfunction ShownameGoboom; ShownameCoolio();}
function ShownameGoboom(){
message Goboom;}
function ShownameCoolio(){
message Coolio;}

__________________
Reply With Quote