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