View Single Post
  #1  
Old 01-12-2006, 01:36 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Control NPC doesn't like breaks?

I've got a projectile. I want it to lay a bomb when it hits the ground.

PHP Code:
putnpc2(params[0], params[1], "join(\"bomb\");"); 
It should work, as far as I can tell. However, I get this error crap.

PHP Code:
Script compiler output for Control-NPC:
errorunexpected tokenbomb at line 557bomb\"";"");"
error: missing semicolon at line 557: bomb\""
;"");"
error: unexpected token: \ at line 557: bomb\""
;"");"
error: unexpected token: ) at line 557: bomb\""
;"");"
error: unexpected token: " 
at line 557bomb\"";"");"
error: unexpected token: SPC at line 557: bomb\""
;"");
Reply With Quote