INI_String
#1

I made a new login system.

pawn Код:
INI_String("Password",PlayerInfo[playerid][pPass], 129);
Код:
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp.pwn(78) : error 001: expected token: ")", but found "["
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp.pwn(78) : warning 215: expression has no effect
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp.pwn(78) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp.pwn(78) : error 029: invalid expression, assumed zero
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp.pwn(78) : fatal error 107: too many error messages on one line
If I remove that length number, it will give me numerous errors again
Reply
#2

The password should be an Int becuase its hashed.

pawn Код:
INI_Int("Password",PlayerInfo[playerid][pPass]);
Reply
#3

Oh, I didnt think of that. Thanks lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)