i need help with 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: i need help with errors (
/showthread.php?tid=400248)
i need help with errors -
madh3r0 - 17.12.2012
Hey i get this two errors..
Код:
C:\Users\MAD\Desktop\Serverio failai\[+]SANFR\gamemodes\SANFR.pwn(19650) : error 033: array must be indexed (variable "mutetekstas")
C:\Users\MAD\Desktop\Serverio failai\[+]SANFR\gamemodes\SANFR.pwn(19651) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
And script
Код:
new laikas = MUTEDTIMER [playerid];
new txt[325];
format(txt, 325, "Muted : %i", (laikas) / 1000);
mutetekstas = Create3DTextLabel(txt, 0xFF0000FF, 0,0,0,50,-1,1);
Attach3DTextLabelToPlayer(mutetekstas, playerid, 0,0,0.8);
Sorry for my bad english
Re: i need help with errors -
Azazelo - 17.12.2012
mutetekstas[playerid] = Create3DTextLabel(txt, 0xFF0000FF, 0,0,0,50,-1,1);
Re: i need help with errors -
madh3r0 - 17.12.2012
Now i get this
Код:
C:\Users\MAD\Desktop\Serverio failai\[+]SANFR\gamemodes\SANFR.pwn(19882) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
and code is
Код:
Attach3DTextLabelToPlayer(mutetekstas, playerid, 0,0,0.8);
Re: i need help with errors -
park4bmx - 17.12.2012
the
mutetekstas must be decelerate as a
Text3D.
meaning like this
pawn Код:
new Text3D:mutetekstas = Create3DTextLabel(//so on...
Re: i need help with errors -
madh3r0 - 17.12.2012
Everything is allright.. thanks!