INI_Int error
#1

PHP код:
public OnPlayerConnect(playerid)
{
    new 
INI:ini INI_Open(pFile(playerid));
    
INI_Int("Money",DB[playerid][Money]);
    
INI_Close(ini);
    return 
1;

error 017: undefined symbol "name"
error 017: undefined symbol "value"

Error line: INI_Int("Money",DB[playerid][Money]);
Reply
#2

There is neither a "name", nor a "value" in that line. Are you sure it is not referring to another file?
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
There is neither a "name", nor a "value" in that line. Are you sure it is not referring to another file?
PHP код:
stock pFile(playerid)
{
    
format(String,sizeof(String),"Accounts/%s.ini",GetName(playerid));
    return 
String;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)