well, you could start with the basic stuffs, this script can be found on Testbed under "
Shared/Shoot" and it shoots a Arrow when you update the script.
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.startx = player.x+vecx(player.dir);
temp.starty = player.y+vecy(player.dir);
temp.startz = player.z;
temp.angle = getangle(vecx(player.dir), vecy(player.dir));
temp.zangle = 0;
temp.power = 0;
temp.ani = "arrow"; // projectile ani
temp.aniparam0 = 0;
temp.aniparam1 = 0;
// etc
shoot(temp.startx, temp.starty, temp.startz, temp.angle, temp.zangle, temp.power, temp.ani, temp.aniparam0, temp.aniparam1); // etc with the aniparams
}
but if your no scripter, you should probably hire one.