INI_String - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: INI_String (
/showthread.php?tid=504386)
INI_String -
Extraordinariness - 04.04.2014
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
Re: INI_String -
SickAttack - 04.04.2014
The password should be an Int becuase its hashed.
pawn Код:
INI_Int("Password",PlayerInfo[playerid][pPass]);
Re: INI_String -
Extraordinariness - 04.04.2014
Oh, I didnt think of that. Thanks lol