23.06.2015, 23:08
The code that you posted in the beginning is correct. The question is, are you assigning a value to "PlayerInfo[playerid][pPass]" and "PlayerInfo[playerid][pAdmin]" somewhere in your script?
EDIT: the code that Youssef221 gave you is completely wrong.
EDIT: the code that Youssef221 gave you is completely wrong.