Issue with INI_String
#1

Whenever I compile, I get errors on line 28.

My script: https://pastebin.com/F6FbTQxb

Basically, it's this line in specific.

Код:
    INI_String("Password",PlayerInfo[playerid][pPass], 128);
When I try to compile, I get these errors:

Код:
error 001: expected token: ")", but found "["
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
When I change the line to this:
Код:
    INI_String("Password",(PlayerInfo[playerid][pPass], 128));
My new error is this:
Код:
error 017: undefined symbol "INI_String"
Please help.
Reply
#2

Try changing the enum to

PHP код:
enum pInfo
{
    
pPass[128],
    
pCash,
    
pAdmin,
    
pKills,
    
pDeaths

Reply
#3

Quote:
Originally Posted by Daddy Yankee
Посмотреть сообщение
Try changing the enum to

PHP код:
enum pInfo
{
    
pPass[128],
    
pCash,
    
pAdmin,
    
pKills,
    
pDeaths

You are the best, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)