Error 029: Invalid expression, assumed zero [Please Help!]
#1

Okay, so I been trying all sorts of things for hours now, used to have more errors but it came down to 4 now.
I searched all related topics, tried doing what I read there, and no luck. :c


Could someone please help me? And if you do, can ya explain what was wrong, so I can understand? <3

I'll gladly +rep those who help me!

Errors
Quote:

RPG.pwn(218 ) : error 029: invalid expression, assumed zero
RPG.pwn(218 ) : error 029: invalid expression, assumed zero
RPG.pwn(218 ) : error 029: invalid expression, assumed zero
RPG.pwn(218 ) : fatal error 107: too many error messages on one line

Code
pawn Код:
forward loadaccount_user(playerid, name[], value[]);
public loadaccount_user(playerid, name[], value[])
{
    INI_String("Password",pInfo[playerid][Pass], 129); //This is line 218
    INI_Int("AdminLevel",pInfo[playerid][Adminlevel]);
    INI_Int("VIPLevel",pInfo[playerid][VIPlevel]);
    INI_Int("Money",pInfo[playerid][Money]);
    INI_Int("Scores",pInfo[playerid][Scores]);
    INI_Int("Kills",pInfo[playerid][Kills]);
    INI_Int("Deaths",pInfo[playerid][Deaths]);
    return 1;
}
pawn Код:
enum PlayerInfo
{
    Pass[129], //User's password
    Adminlevel, //User's admin level
    VIPlevel, //User's vip level
    Money, //User's money
    Scores, //User's scores
    Kills, //User's kills
    Deaths //User's deaths
}
pawn Код:
#include <a_samp>
#include <YSI\y_ini>
#include <sscanf2>
#include <ZCMD>
#include <streamer>
#include <foreach>
Reply
#2

You are using y_ini. You can read more here about reading and writing data:
https://sampwiki.blast.hk/wiki/YSI:INI
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)