Blockland Forums > Help

why wont the tranquilizer work??

Pages: (1/4) > >>

deathrider:

title says all i have it enabled and it shows up in game but when i shoot someone they dont fall


//we need the horse add-on for this, so force it to load
%error = ForceRequiredAddOn("Item_skis");

if(%error == $Error::AddOn_Disabled)
{
   //A bit of a hack:
   //  we just forced the horse to load, but the user had it disabled
   //  so lets make it so they can't select it
   HorseArmor.uiName = "";
}

if(%error == $Error::AddOn_NotFound)
{
   //we don't have the horse, so we're screwed
   error("ERROR: Weapon_tranquilizer - required add-on Item_skis not found");
}
else
{
   exec("./Weapon_tranquilizer.cs");
}




that is out of the folder
and it is on rtb archives but for it to work put Weopon_ in front of it it broke so if it dosent work put that in frount of it why wont it work only bots fall down

FOX TAIL:

then you need the skis right?

Khain:

This is the server.cs, that's what the Weapon_Tranquilizer needs to work.

Also, I'm going to check that script for you.

deathrider:

i did default add ons exsept spawnhomingprojectile so ill shoot me but when it shot me nofen to i put on skis but they were red and not blue ill do another test
--- Quote from: Khain on March 06, 2010, 04:29:26 PM ---This is the server.cs, that's what the Weapon_Tranquilizer needs to work.

Also, I'm going to check that script for you.

--- End quote ---
thank you

Khain:

I think I found the error:


function tranquilizerProjectile::Damage(%this,%obj,%col,%fade,%pos,%normal)
{
   tumble(%col, 7000);
}

tumble right?

I think it should be trumble.

Also:



Pages: (1/4) > >>

Go to full version