Quote:
Originally Posted by Liberated
no, no not at all!
thanks for the help! Im only trying to improve and get my scripts good and clean looking, so any C&C is appreciated!
And i really want to stay away from GS1 so im glad you mentioned that.
i just edited the previous script on the forum, so nothing on the RC or something. I hope this is okay? Or did i do too much by also putting spaced around the = between this.x and player.x?
|
you'd great with the spaces, could use some more on events with "()" but that isn't necessary as it is you as a scripter that chooses that (personal styling).
i sported some errors, like missing a dot or just the ";"
i'll spell it out for you
PHP Code:
function getCoordinates:
if dir is 1 :
this.x = playerx - xOffset; // playerx = player.x :)
function onWeaponFired:
getCoordinates(7, 7) // you missed a ";" at the end ;O