SLotman is right, you shouldn't be doing that. Also, you should try and make your variables global.
Does that even compile? Seems like Web Browser code.
Try throwing in a cls at the top of your loop. Shouldn't really do anything as renderworld should overwrite the whole screen.
You should try stripping your code down o the very basics of what you need to make it work. You don't need the weapons shop or anything like that :o)
<img src="http://blitz3dstuff.googlepages.com/untitled.JPG">
Does that even compile? Seems like Web Browser code.
Try throwing in a cls at the top of your loop. Shouldn't really do anything as renderworld should overwrite the whole screen.
You should try stripping your code down o the very basics of what you need to make it work. You don't need the weapons shop or anything like that :o)