y_timers problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: y_timers problem (
/showthread.php?tid=583483)
y_timers problem -
Midzi - 28.07.2015
Hello.
I've created timer:
Код:
new x = 2;
new y = 3;
new z = 4;
new array[3] = {x, y, z};
defer GoTimer(array, sizeof(array));
and I have errors:
Код:
must be a constant expression; assumed zero
on line:
Код:
new array[3] = {x, y, z};
What I doing wrong?
PS. My x, y, z must be dynamic variable.