Author Topic: Need help with a addon.  (Read 803 times)

Im going to release a addon named "Script_Joint"
But i need to add one more thing but i dont know how:
When you say /joint
You get the emitter smoke by you.
Can someone help me?

serverCmdJoint(%client)
{
//your smoke function here
}

%client is probably useless for what you want to do so you should make a local %player variable using %player = %client.player and then do whatever for the smoke
« Last Edit: October 08, 2016, 04:41:05 PM by QuadStorm »

Ide

You would use %client

Also you can go into your add-ons and look at the Emote_Hate.zip as a reference.

  colors[0]     = "0.2 0.2 0.2 0.5";
   colors[1]     = "0.0 0.0 0.0 1.0";
   colors[2]     = "0.0 0.0 0.0 0.0";


Change the colors to a more joint smoke effect as the hate emote is black.

http://puu.sh/rCKe5.cs
« Last Edit: October 09, 2016, 02:49:34 AM by Ide »

Ide

serverCmdJoint(%client)
{
//your smoke function here
}

%client is probably useless for what you want to do so you should make a local %player variable using %player = %client.player and then do whatever for the smoke

Also that is missing the function before the servercmdjoint.