Thread: RC Plane Script
View Single Post
  #7  
Old 08-31-2011, 05:30 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Shoot projectiles call onActionProjectile2 when they land/hit someone.

PHP Code:
//#CLIENTSIDE
function onActionProjectile2() {
  echo(
"Projectile landed: " params);

Before using shoot it helps if you store the player's account or some unique identifier so you can figure out where it came from when the projectile lands in the projectile's parameters. I.e:

setshootparams("missile", player.account);
__________________
Quote:
Reply With Quote