Lucidx Posted June 7, 2009 Share Posted June 7, 2009 Ok I'm trying to make an item that when you pick it up, It displays a message and modifys a statheres my scriptscn 11GunMessageSCRIPT ;On Pickup, you get +1 to Str and The chuck norris message short DoOnce begin OnActivate if IsActionRef player == 1 if (DoOnce == 0) ShowMessage 11GunMessage Player.Modav Strength 1 Set DoOnce to 1 endif endTheres an error on line 11? Link to comment Share on other sites More sharing options...
TGBlank Posted June 7, 2009 Share Posted June 7, 2009 You're missing an endif, yet again. So i will again point you to the last post of this thread:http://thenexusforums.com/index.php?showtopic=127439 The sooner you learn to use proper indentation, the sooner you'll stop forgetting endifs and having mixups with nesting. BTW, when you post codeboxes, please make sure none of your lines haves 450485485 blank spaces at the end. Codeboxes don't wrap lines, so the thread page is stretched horizontally unnecessarily. Most browsers won't even show you a horizontal scrollbar in this particular case, so please avoid doing it. Link to comment Share on other sites More sharing options...
Lucidx Posted June 7, 2009 Author Share Posted June 7, 2009 I know lol, I just realized that I like FlubDubbed with notepads spacing so there was all them spacesAnd thanks for the help again bro :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.