View Single Post
toazron1
Senior Member
Join Date: Oct 2006
Old 03-27-2008 , 21:29   Re: TF2: Parent Buildables To Moving Entities (Elevators, Cars etc)
Reply With Quote #2

Excellent. I can't wait to try it out.

2 things right off the bat, first you want to post the .sp rather then the .txt file and you have an unused function at the bottom ( public OnMapStart() ) just chilling there.

Also replace:
PHP Code:
public Plugin:myinfo =
{
      
name "Buildable Parenting",
      
author "WoZeR - Teddy Ruxpin",
      
description "Allows buildable objects to parent with moving entities",
      
version 1.0,
      
url "http://www.layeredtech.com"

with

PHP Code:
 public Plugin:myinfo =
 {
       
name "Buildable Parenting",
       
author "WoZeR - Teddy Ruxpin",
       
description "Allows buildable objects to parent with moving entities",
       
version PLUGIN_VERSION,
       
url "http://www.layeredtech.com"
 

this uses your verison variable and fixes the compile warning.
__________________

Last edited by toazron1; 03-27-2008 at 21:37. Reason: additional suggestion
toazron1 is offline
Send a message via AIM to toazron1