Quote:
|
Originally Posted by ProjectShifter
Hmm... I do recall something about not posting whole scripts and only posting parts that were relevant =x
|
quite
also, freakin indent, there is no point in using [code ] tags when you don't indent , and use [php ] if you have to post alot of code, since noone is fixing the damn doublespace >:O
I tested the script offline, and it seems to stop at walls alright. Your problem might have something to do with a neworder tileset, check to see if you're serveroption (newtilesets=true/false) is correct and all that stuff. Use this test weapon to make sure wallchecks are working too:
PHP Code:
if (created||timeout) {
if (onwall(mousex,mousey)) {
setplayerprop #c,Freakin wall!;
}else{setplayerprop c,Clear!;}
timeout = .05;
}
Quote:
|
Originally Posted by xAndrewx
I didn't know you could add +/- in the same for loop? :o
|
yeah, um i=-1 is not the same as i-=1
