Blockland Forums > Modification Help
My scripting problems: 0
Sammygood:
New problem added.
Crysist:
function clientCmdNumber(%client, %num)
{
messageClient(%client, "Your Number: " @ $num);
}
Red_Guy:
--- Quote from: Sammygood on June 01, 2010, 12:19:50 PM ---4. Is there a fault in this? :
--- Code: ---function clientCmdNumber(%client) //especially here
{
messageClient(%client, '', "Your Number: " @ $num);
}
--- End code ---
--- End quote ---
What do you want this to do?
Some explaination as to what your trying to accomplish will help a lot in giving you answers.
Placid:
--- Quote from: Crysist on June 08, 2010, 03:46:25 PM ---function clientCmdNumber(%client, %num)
{
messageClient(%client, "Your Number: " @ %num);
}
--- End quote ---
fixed unless he wants a $Pref ._.
NiXiLL:
Did you mean serverCmd instead of clientCmd?
Did you define $num anywhere?
Either way I could be wrong with this, I haven't coded in TQS for quite some time.