forward loadaccount_Players_Data(playerid, name[], value[]); public loadaccount_Players_Data(playerid, name[], value[]) { INI_String("Name", pInfo[playerid][playername]); INI_String("Password", pInfo[playerid][Pass],129);
INI_String("Name", pInfo[playerid][playername], sizeof(pInfo[playerid][playername]))
forward loadaccount_Players_Data(playerid, name[], value[]);
public loadaccount_Players_Data(playerid, name[], value[])
{
INI_String("Name", pInfo[playerid][playername], sizeof(pInfo[playerid][playername]);
INI_String("Password", pInfo[playerid][Pass], 129);
INI_String(name[], variable , length );
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 017: undefined symbol "INI_String"
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 001: expected token: "]", but found "-identifier-"
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : warning 215: expression has no effect
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 001: expected token: ";", but found "]"
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : fatal error 107: too many error messages on one line
INI_String("Name", pInfo[playerid][playername], sizeof(pInfo[playerid][playername]);
forward loadaccount_Players_Data(playerid, name[], value[]);
public loadaccount_Players_Data(playerid, name[], value[])
{
INI_String("Name", pInfo[playerid][playername], 24);
INI_String("Password", pInfo[playerid][Pass], 129);
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 001: expected token: ")", but found "["
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : warning 215: expression has no effect
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 001: expected token: ";", but found "]"
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : error 029: invalid expression, assumed zero
E:\Game Modes\1v1_DM_Server\gamemodes\test.pwn(4268) : fatal error 107: too many error messages on one line
Does playername in the enum has size of 24 or any size at all?
|