Blockland Forums > Modification Help
talking as the lag icon
Hazmat:
would it be enoguh to just put one function in a server.cs and leave it like that? or does it need more?
example:
--- Code: ---function serverCmdHello(%client)
{
messageAll(' ', "<color:ffff00>" @ %client SPC @ "<color:ffffff>: Hello"
}
--- End code ---
i know this command would be pointless it is just an example
otto-san:
there's no minimum or maximum
Placid:
--- Quote from: otto-san on March 31, 2011, 07:53:23 PM ---there's no minimum or maximum
--- End quote ---
although it's easier to see if you're making some huge script if you have a folder for some category of functions and stuff.
Hazmat:
ok thanks i guess that's not the problem i've been making a lot of things for practice one i'm working on is a command to make you talk as the lag icon but it's not working.
--- Code: ---function serverCmdLag(%client, %msg, %msg1, %msg2, %msg3, %msg4, %msg5, %msg6, %msg7, %msg8, %msg9, %msg10, %msg11, %msg12)
{
messageAll(' ', "<bitmap:base/client/ui/lagicon.png><color:ffffff>:" @ %msg SPC %msg1 SPC %msg2 SPC %msg3 SPC %msg4 SPC %msg5 SPC %msg6 SPC %msg7 SPC %msg8 SPC %msg9 SPC %msg10 SPC %msg11 SPC %msg12);
}
--- End code ---
any ideas?
Reinforcements:
getting any console errors with this?