Quote:
Originally Posted by Angel_Light
ok I got it working with tiles and it works flawless in a single level. I have deduced it is a gmap problems. let say I'm in gmap_b2.nw and I hit a stake well it updates the level gmap_a1.nw, not the level I'm in. I tried that %64 thing and it doesnt work and could someone explain to me what %64 does?
|
PHP Code:
function onWeaponFired() {
player.chat = player.x SPC " - " SPC player.y;
}
PHP Code:
function onWeaponFired() {
player.chat = player.x%64 SPC " - " @ player.y%64;
}
Try both the scripts on a gmap and you'll see it :P