03.04.2016, 10:06
PHP код:
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(67) : error 055: start of function body without function header
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(68) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(69) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(70) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(71) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(72) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(73) : error 010: invalid function or declaration
C:\Users\PC\Desktop\LGRP\gamemodes\LGRP.pwn(283) : warning 203: symbol is never used: "PlayerInfo"
PHP код:
enum pInfo
{
pPassword,
pCash,
pAdmin,
pKills,
pDeaths,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
forward LoadUser_data(playerid, name[], value[]);
public LoadUser_data(playerid, name[], value[]);
{
INI_Int("Password", PlayerInfo[playerid][pPassword]);
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;
}