Urban Wars
April 19, 2024, 03:37:33 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome, here you will find all the information on Urban Wars
 
  Home Help Search Staff List Login Register  

player surface... AGAIN!

Pages: [1]
  Print  
Author Topic: player surface... AGAIN!  (Read 471 times)
DukeInstinct
Administrator
Lieutenant
*****
Posts: 120


The ArchDuke


View Profile WWW
« on: May 12, 2010, 02:24:54 pm »

That'll work for players and bots, however, it won't work for monsters.

I think instead of if (trace_ent.takedamage) use if (trace_ent.takedamage>0).
Report Spam   Logged



Urban Wars Coder/3d Modeler/Animator



Pages: [1]
  Print  
 
Jump to:  


Get your own Chat Box! Go Large!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy