ok maloria hope you guys dont mind me useing your ganis on this post there not the same on the server im at but im learning xD anyhow
im trying to make a spell but i cant get the mousex and y thing like mal i tryed but cant seem to get it heres my code so far
NPC Code:
//The Spell Test
//#CLIENTSIDE
if (created) {
unset client.andyspon;
}
if (weaponfired&&!client.andyspon) {
setani mal_darkball_arm,;
replaceani idle,mal_darkball_idle;
replaceani walk,mal_darkball_walk;
replaceani sword,mal_darkball_shoot;
sleep .1;
set client.andyspon;
}
if (weaponfired&&client.andyspon) {
//freezeplayer 0.8;
setani idle,;
replaceani idle,idle;
replaceani walk,walk;
replaceani sword,sword;
sleep .1;
unset client.andyspon;
}
ok i know the ammo is mal_darkball well if thats so how do i get that to be casted like where i click like on mal i want a spell system like mal thats it if allowed im sure if i could get the spells i could make my own type of weapons system but to the point how do i get the mal_darkball to go from player to where i click and if it hits player it hurts im sure its something like
NPC Code:
//The System Test
if (actionprojectile && strequals(#p(0),darkhit) && !strequals(#a,#p(1)) && !playerpaused && !playermap && !strequals(#m,mal_darkball))
{
if (nopkzone) {freezeplayer 0.5;}else{
setani hurt,; blah blah blah}
or something like that on a system like weapon than on the spell its like on Spell Test with the mousex and y stuff but please help thanks