Thread: Bomb and Arrow
View Single Post
  #1  
Old 11-10-2009, 10:33 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Bomb and Arrow

Just wondering if its normal for the bomb to not show up on a gmap at all. I also have a scripted bomb, but it wont show up on the gmap either.
arrows just repeat in the level when shot, which is kinda weird.

PHP Code:
//#CLIENTSIDE
function onWeaponFired() { 
if (
player.bombs > 0) { 
  
setani("lay", NULL); 
  
freezeplayer(0.2); 
if (
isOnMap) { 
  
temp.px = player.x - (64 * getMapX(player.level)) + 0.5 + vecx(player.dir)*2; 
  
temp.py = player.y - (64 * getMapY(player.level)) + 0.5 + vecy(player.dir)*2; 
  
putBomb(1, temp.px, temp.py); 
} 
else { 
  
putbomb(1,player.x + vecx(player.dir)*2, player.y + 0.5 + vecy(player.dir)*2); 
} 
  
player.bombs --; 
} 
} 
if anyone would have a community bomb and arrow script that could fix this problem.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote