Thread: Bridge
View Single Post
  #11  
Old 06-13-2002, 11:36 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Projectshifter
LOL. Shouldn't this be an NPC Server question? I'd say make 3 images. One of both of the sides, and one of the middle. For the sides:
NPC Code:

//#CLIENTSIDE
if (playertouchsme)
timeout=0.1;
if (timeout)
{ set underbridge;
sleep 0.11;
unset underbridge;}



for the bridge itself:
NPC Code:

//#CLIENTSIDE
if (playertouchsme&&underbridge)
{ drawoverplayer;
dontblock;}
if (playertouchsme&&!underbridge)
{ drawoverplayer;
dontblock;}



Seems slightly simpler and not as much of a hassle, but your call, he he.
---Shifter
1.) Notice he said CLIENTSIDED
2.) eww, flags, use a string
Reply With Quote