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.
__________________