Problem at YNI. - Please, help.
#4

For the error of the line 38, you maybe have the following in your gamemode:

PHP код:
new pAdmin;
// or
#define pAdmin 
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:

PHP код:
enum pInfo
{
      
pPass,
      
pCash,
38.  psAdmin// we changed it for psAdmin
      
pKills,
      
pDeaths

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:

Код:
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
change for
Код:
INI_Int("Admin",PlayerInfo[playerid][psAdmin]);
As for the line 47, you forgot to close the bracket
PHP код:
47  INI_Int("Password",PlayerInfo[playerid][pPass]; // you must add a closing bracket ')' before the semi colon ';' 
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
Reply


Messages In This Thread
Problem at YNI. - Please, help. - by zekykral - 01.04.2017, 11:48
Re: Problem at YNI. - Please, help. - by Toroi - 01.04.2017, 11:54
Re: Problem at YNI. - Please, help. - by zekykral - 01.04.2017, 12:05
Re: Problem at YNI. - Please, help. - by Toroi - 01.04.2017, 12:33
Re: Problem at YNI. - Please, help. - by zekykral - 01.04.2017, 12:46
Re: Problem at YNI. - Please, help. - by zekykral - 01.04.2017, 13:57
Re: Problem at YNI. - Please, help. - by Toroi - 01.04.2017, 13:58
Re: Problem at YNI. - Please, help. - by zekykral - 01.04.2017, 14:05

Forum Jump:


Users browsing this thread: 2 Guest(s)