One error
#1

PHP код:
C:\Documents and Settings\user\Desktop\zombierpg.pwn(293) : error 001expected token")"but found "["
C:\Documents and Settings\user\Desktop\zombierpg.pwn(293) : warning 215expression has no effect
C
:\Documents and Settings\user\Desktop\zombierpg.pwn(293) : error 001expected token";"but found "]"
C:\Documents and Settings\user\Desktop\zombierpg.pwn(293) : error 029invalid expressionassumed zero
C
:\Documents and Settings\user\Desktop\zombierpg.pwn(293) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

here is error and here is line 293
PHP код:
    INI_String("Password"PlayerInfo[playerid][Pass], 129); 
im follow this totorial Link
but give me this errors
Reply
#2

Don't know about INI_String but try
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass]);
Reply
#3

Quote:
Originally Posted by mobiliz
Посмотреть сообщение
Don't know about INI_String but try
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass]);
i will try now
Reply
#4

Quote:
Originally Posted by mobiliz
Посмотреть сообщение
Don't know about INI_String but try
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass]);
I don't think that will work because INI_String needs a size parameter you put at last, can you please post two lines before this and two lines after ?
Reply
#5

Quote:
Originally Posted by Lexi'
Посмотреть сообщение
I don't think that will work because INI_String needs a size parameter you put at last, can you please post two lines before this and two lines after ?
PHP код:
public LoadUserData(playeridname[], value[]) 

    
INI_String("Password"PlayerInfo[playerid][Pass],[129]);
    
INI_Int("Cash"PlayerInfo[playerid][Cash]);
    
INI_Int("Admin"PlayerInfo[playerid][Admin]);
    
INI_Int("Kills"PlayerInfo[playerid][Kills]);
    
INI_Int("Deaths"PlayerInfo[playerid][Deaths]);
    
INI_Int("Xp"PlayerInfo[playerid][Xp]);
    
INI_Int("Infect"PlayerInfo[playerid][Infect]);
    
INI_Int("Rank"PlayerInfo[playerid][Rank]);
    
INI_Int("Mute"PlayerInfo[playerid][Mute]);
    
INI_Int("Vote"PlayerInfo[playerid][Vote]);
    
INI_Int("Credits"PlayerInfo[playerid][Credits]);
    
INI_Int("ArmourUpgrade"PlayerInfo[playerid][Armour]);
    
INI_Int("Online"PlayerInfo[playerid][Online]);
    return 
1

this is funcion
Reply
#6

This
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass],[129]);
Must be
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass], 129);
Try now
Reply
#7

Quote:
Originally Posted by Lexi'
Посмотреть сообщение
This
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass],[129]);
Must be
pawn Код:
INI_String("Password", PlayerInfo[playerid][Pass], 129);
Try now
PHP код:
C:\Documents and Settings\user\Desktop\zombierpg.pwn(298) : error 001expected token")"but found "["
C:\Documents and Settings\user\Desktop\zombierpg.pwn(298) : warning 215expression has no effect
C
:\Documents and Settings\user\Desktop\zombierpg.pwn(298) : error 001expected token";"but found "]"
C:\Documents and Settings\user\Desktop\zombierpg.pwn(298) : error 029invalid expressionassumed zero
C
:\Documents and Settings\user\Desktop\zombierpg.pwn(298) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

again this erros
Reply
#8

Wont it work if you change the string to

INI_Int("Password", PlayerInfo[playerid][Pass]);
?
Reply
#9

Quote:
Originally Posted by mobiliz
Посмотреть сообщение
Wont it work if you change the string to

INI_Int("Password", PlayerInfo[playerid][Pass]);
?
HOW CAN you say such a thing?Sorry to tell you, but if you have no experience with Y_INI, then don't talk.A password being saved as a numeric value?STOP messing up with posting if you don't know what's all about.AND rumen, use a hash system, or nobody from SAMP comunity will join your server, because of being afraid of pass-steal.
Reply
#10

Quote:
Originally Posted by Cjgogo
Посмотреть сообщение
HOW CAN you say such a thing?Sorry to tell you, but if you have no experience with Y_INI, then don't talk.A password being saved as a numeric value?STOP messing up with posting if you don't know what's all about.AND rumen, use a hash system, or nobody from SAMP comunity will join your server, because of being afraid of pass-steal.
im follow this tutorial link
And give me this errors
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)