15.06.2018, 05:51
Why does this works
But changing this line
to this
doesn't work and shows this:
What opcode should I use to pass the var?
PHP код:
main()
{
new t;
#emit LOAD.S.pri t
#emit PUSH.pri
#emit PUSH.C 4
#emit SYSREQ.C SetWorldTime
#emit LCTRL 4
#emit LOAD.S.alt 8
#emit ADD
#emit SCTRL 4
}
PHP код:
new t;
PHP код:
new t = 19;
Quote:
[debug] Run time error 6: "Invalid instruction" [debug] Unknown opcode 0x1300 at address 0x00000013 [debug] AMX backtrace: [debug] #0 00000013 in main () from <unknown> Script[gamemodes/z/t.amx]: Run time error 6: "Invalid instruction" |