Yes.(Depending on where you put it).
break; stops the whole function and would be used after every
case "putcasehere": script.
Example on the useage:
PHP Code:
function onActionServerside() {
switch (params[0]) {
case "Var1":
{
player.chat = "Woot I triggered this case!";
break;
}
case "Var2":
{
if (clientr.banned != NULL)
{
player.chat = "I have been banned from using this function :(";
} else {
player.chat = "Woot I triggered another case, I am on fire!";
}
break;
}
}
Hope this helps, and don't do what i did by checking if a clientr function to check if someone is banned from a function unless you have a way to prevent the flag from being altered by a memory editor, or something like that. (you already know that)