[Tutorial] Login and Register System - Dialogs - Using Y_INI

Very Bugs..
Reply

How to do that with PVars?
Code:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    return 1;
}
Reply

Hello! For some reason, when i compile i get these errors. Could someone explain what's wrong?

C:\Users\George\Desktop\samp server\pawno\include\YSI\..\YSI_Storage\..\YSI_Cor e\y_utils.inc(430) : warning 201: redefinition of constant/macro (symbol "isnull(%1)")
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 017: undefined symbol "PlayerInfo"
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : warning 215: expression has no effect
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 001: expected token: ";", but found "]"
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : error 029: invalid expression, assumed zero
C:\Users\George\Desktop\samp server\pawno\Commands Test.pwn(150) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)