INI_WriteString
#1

Код:
INI_WriteString(File, "Note1", 0);
				INI_WriteInt(File, "Note1s", 0);
				INI_WriteString(File, "Note2", 0);
				INI_WriteInt(File, "Note2s", 0);
				INI_WriteString(File, "Note3", 0);
				INI_WriteInt(File, "Note3s", 0);
				INI_WriteString(File, "Note4", 0);
				INI_WriteInt(File, "Note4s", 0);
				INI_WriteString(File, "Note5", 0);
				INI_WriteInt(File, "Note5s", 0);
Код:
C:\Documents and Settings\Vegas\Desktop\UB\gamemodes\gm.pwn(22729) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Vegas\Desktop\UB\gamemodes\gm.pwn(22731) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Vegas\Desktop\UB\gamemodes\gm.pwn(22733) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Vegas\Desktop\UB\gamemodes\gm.pwn(22735) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Vegas\Desktop\UB\gamemodes\gm.pwn(22737) : error 035: argument type mismatch (argument 3)
What should I do?
Reply
#2

Fix it by actually writing a string, 0 is not a string, it's a number.
Reply
#3

I writed it like this INI_WriteString(File, "Note5", ""); and I don't have more error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)