Author Topic: why wont the tranquilizer work??  (Read 1132 times)

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

then you need the skis right?

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

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

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
This is the server.cs, that's what the Weapon_Tranquilizer needs to work.

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

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:


Try it and see if it still does not trumble.

New script:

I think this one will work.


nope it doset work i know it works cuz a couple of weeks ago people were using it

me tumbleing on skis and


Download the new one.

i have and i put it in end evrything but it dident work btw notice in picy i have red skiys and not blue but when spawned they are blue and in invertory they are blue but the script dident work

Dear, god. I have no idea what is happening with your gun.

mayby my console log might help or i could pm the maker pandwan i think

i pm mtndew the new pandwan havent got a reply + bump + can someone try to fix it if the maker cant

eny one know why it wont work