bb85c5eda2
-branch, added a new jit opcode -- 165/op.stackadjust(1), stk = frm+n --HG-- branch : sourcemod-1.1.0 extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401937
29 lines
370 B
SourcePawn
29 lines
370 B
SourcePawn
#include <sourcemod>
|
|
|
|
public OnPluginStart()
|
|
{
|
|
RegServerCmd("test_goto", Test_Goto);
|
|
}
|
|
|
|
public Action:Test_Goto(args)
|
|
{
|
|
new bool:hello = false;
|
|
new String:crab[] = "space crab";
|
|
|
|
sample_label:
|
|
|
|
new String:yam[] = "yams";
|
|
|
|
PrintToServer("%s %s", crab, yam);
|
|
|
|
if (!hello)
|
|
{
|
|
new bool:what = true;
|
|
hello = what
|
|
goto sample_label;
|
|
}
|
|
|
|
return Plugin_Handled;
|
|
}
|
|
|