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;}