SA-MP Forums Archive
Streamer errors. - 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: Streamer errors. (/showthread.php?tid=381908)



Streamer errors. - TheBlackKnight - 01.10.2012

Those are the errors i get after compile:

pawn Код:
Streamer.inc(158) : error 029: invalid expression, assumed zero
Streamer.inc(158) : error 008: must be a constant expression; assumed zero
Streamer.inc(158) : error 001: expected token: ";", but found "const"
Streamer.inc(158) : fatal error 107: too many error messages on one line
The line 158:
pawn Код:
native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);
Any suggestions?


Re: Streamer errors. - .v - 01.10.2012

Try.

Код:
native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);



Re: Streamer errors. - TheBlackKnight - 01.10.2012

Same errors on same line :/