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



Warning - Narushi - 29.12.2012

Hey,

why i get this warning

Код:
new TD_String[MAX_TEXT_DRAWS][128];
Код:
format(TD_String[Text:HochfahrText[i]],128,"Dein PC wird hochgefahren!");
Код:
C:\Users\Narushi\Desktop\Scripting\PAWN\New-Evolution-Reallife\gamemodes\PCSYS.pwn(106) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.



Re: Warning - hydravink - 29.12.2012

Why are you using format? Show us the full code.
I don't understand a bit of what you're trying to do.

And I think it might be because you didn't put all params.
I though format is something like

pawn Код:
new string[128];
new k = message;
format(string, sizeof(string), "this is a %s", k) //you don't have the last param (in my case K)
I might be wrong too, I'm kinda sleepy.