View Single Post
  #12  
Old 07-10-2012, 07:46 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is just really niceTricxta is just really nice
Soz, I got excited
PHP Code:
//#CLIENTSIDE
function onWeaponFired() {
  
temp.offSets = {{0.6,-2},{-2,1},{0.8,3},{3,1}};
  
setani("shoot", NULL);
  
  for (
temp.i = 0; temp.i < 10; temp.i ++) {
    
putexplosion(0.5, player.x + temp.offSets[player.dir][0] + vecx(player.dir)*temp.i, player.y + temp.offSets[player.dir][1] + vecy(player.dir)*temp.i);
    
sleep(0.05);
  } 
} 
Reply With Quote