01.04.2017, 12:33
For the error of the line 38, you maybe have the following in your gamemode:
It'd be really bad to erase these values as they may be working in conjunct with another function. The better solution is to change it name at the enum:
The error of the line 42 should be fixed along with the above.
Remember to rename all of these values to match with the edited one, as an example:
change for
As for the line 47, you forgot to close the bracket
EDIT: Also, I did not notice, but you're posting in the wrong section, the following link is the place you should go for problems like this one.
http://forum.sa-mp.com/forumdisplay.php?f=12
PHP код:
new pAdmin;
// or
#define pAdmin
PHP код:
enum pInfo
{
pPass,
pCash,
38. psAdmin, // we changed it for psAdmin
pKills,
pDeaths
}
Remember to rename all of these values to match with the edited one, as an example:
Код:
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
Код:
INI_Int("Admin",PlayerInfo[playerid][psAdmin]);
PHP код:
47 INI_Int("Password",PlayerInfo[playerid][pPass]; // you must add a closing bracket ')' before the semi colon ';'
http://forum.sa-mp.com/forumdisplay.php?f=12