Log in and register
#1

im making a log in and register system and so far everythings going good but one part.
this is the tutorial: https://sampforum.blast.hk/showthread.php?tid=273088
and this is what I have
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;
}
and when I comepile I get this

C:\Users\Michael C\Desktop\4-21-2012 project\gamemodes\NewRoleplay.pwn(95) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo"
C:\Users\Michael C\Desktop\4-21-2012 project\gamemodes\NewRoleplay.pwn(95) : warning 215: expression has no effect
C:\Users\Michael C\Desktop\4-21-2012 project\gamemodes\NewRoleplay.pwn(95) : error 001: expected token: ";", but found "]"
C:\Users\Michael C\Desktop\4-21-2012 project\gamemodes\NewRoleplay.pwn(95) : error 029: invalid expression, assumed zero
C:\Users\Michael C\Desktop\4-21-2012 project\gamemodes\NewRoleplay.pwn(95) : fatal error 107: too many error messages on one line

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


4 Errors.
I still havnt finish I think im on the 5th or something step
please help
Reply


Messages In This Thread
Log in and register - by Michael_Cuellar - 26.04.2012, 06:40
Re: Log in and register - by Michael_Cuellar - 26.04.2012, 09:09
Re: Log in and register - by RollTi - 26.04.2012, 09:11
Re: Log in and register - by DarkB0y - 26.04.2012, 09:13
Re: Log in and register - by Michael_Cuellar - 26.04.2012, 09:22
Re: Log in and register - by DarkB0y - 26.04.2012, 09:34
Re: Log in and register - by MadeMan - 26.04.2012, 10:51
Re: Log in and register - by Michael_Cuellar - 26.04.2012, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)