YINI Errors
#1

All of the sudden, i've been having a shitton of login problems (it always says wrong pass) I fixed the issue...Then realized I had the password set to a interval instead of a string. I was getting an error. Also, when I set the floats to spawn, I get a warning. The warnings are to do with the 3 floats, and the error is on the password line. Please help, and +1 Rep goes to anyone who replies positively

pawn Код:
new INI:File = INI_Open(UserPath(playerid));
            INI_SetTag(File,"Player Info");
            INI_WriteInt(File, "Paycheck", PlayerInfo[playerid][pPaycheck] = 60);
            INI_WriteInt(File, "Level", PlayerInfo[playerid][pLevel] = 1);
            INI_WriteInt(File, "Hours", PlayerInfo[playerid][pHours]);
            INI_WriteInt(File, "Job", PlayerInfo[playerid][pJob] = 0);
            INI_WriteFloat(File, "Spawn X",PlayerInfo[playerid][pSpawnX] = 1242.0341);
            INI_WriteFloat(File, "Spawn Y",PlayerInfo[playerid][pSpawnY] = 327.7363);
            INI_WriteFloat(File, "Spawn Z",PlayerInfo[playerid][pSpawnZ] = 19.7555);
            INI_WriteInt(File, "Admin",PlayerInfo[playerid][pAdmin] = 0);
            INI_WriteInt(File, "Banned",PlayerInfo[playerid][pBanned] = 0);
            INI_WriteInt(File, "Spawn", PlayerInfo[playerid][pSpawn] = 1);
            INI_WriteString(File, "Password", PlayerInfo[playerid][pPass] = strval(inputtext));
            INI_WriteInt(File, "Bank", PlayerInfo[playerid][pBank] = 0);
            INI_WriteInt(File, "Food", PlayerInfo[playerid][pFood] =  1200);
            INI_WriteInt(File, "Water", PlayerInfo[playerid][pWater] =  1200);
            INI_Close(File);
Код:
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(123) : warning 213: tag mismatch
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(124) : warning 213: tag mismatch
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(125) : warning 213: tag mismatch
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(129) : error 035: argument type mismatch (argument 3)
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(949) : warning 213: tag mismatch
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(950) : warning 213: tag mismatch
C:\Users\Matt\Desktop\Games\GTA_SA\SAMP\gamemodes\Survival.pwn(951) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Login System Help - by Mattakil - 07.09.2013, 19:06
Re: YINI Errors - by Mattakil - 07.09.2013, 20:39
Re: YINI Errors - by Omar55555 - 07.09.2013, 20:53
Re: YINI Errors - by Mattakil - 07.09.2013, 21:01
Re: YINI Errors - by Dragonsaurus - 07.09.2013, 21:12
Re: YINI Errors - by Mattakil - 07.09.2013, 21:23
Re: YINI Errors - by Dragonsaurus - 07.09.2013, 21:26
Re: YINI Errors - by Mattakil - 07.09.2013, 22:06

Forum Jump:


Users browsing this thread: 2 Guest(s)