SA-MP Forums Archive
Weird 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weird Problem (/showthread.php?tid=173561)



Weird Problem - Kyle - 02.09.2010

I have an error on the sscanf line: warning 213: tag mismatch

Код:
new Float:X,Float:Y,Float:Z,Size2;

format(string,sizeof(string),"%s",strval(field[10]));
strreplace(",", " ", string);
sscanf(string, "fffd",X,Y,Z,Size);
Regards


Re: Weird Problem - Blacklite - 02.09.2010

You need to show where you're defining all your variables.


Re: Weird Problem - [L3th4l] - 02.09.2010

Note, you on the sscanf line you have, "Size" but you defined it as "Size2"


Re: Weird Problem - Kyle - 02.09.2010

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
Note, you on the sscanf line you have, "Size" but you defined it as "Size2"
Thanks it was my bad.