03.08.2012, 13:12
Quote:
Hello,
Im trying to get my register system to work. On this line, im getting many errors. pawn Код:
NFT.pwn(386) : error 029: invalid expression, assumed zero NFT.pwn(386) : warning 215: expression has no effect NFT.pwn(386) : error 001: expected token: ";", but found ")" NFT.pwn(386) : fatal error 107: too many error messages on one line |
understand what you are trying to achieve by comparing inputtext to pPass variable. Or
did you load the password of the player to the variable before this check?
But if you have the password stored in pPass variable, you should use this script then.
pawn Код:
if(!strcmp(PlayerInfo[playerid][pPass], inputtext, false)) { // Passwords do match
Storing passwords as plain text is a great security vulnerability.