10.07.2009, 17:31
Thanks GforceNL, that helped.
Still waiting for a reply about this,
Still waiting for a reply about this,
Quote:
* We create a new variable (integer) called 'password' and assign it to the 'num_hash()' function we can find in our dutils.inc file. * We set the 'PLAYER_PASS' cell of our 'gPlayerInfo[playerid]' array to 'password'. The 'num_hash()' function simply converts the given string (in this case, our password), to a numerival value, with which we then place in to our array cell. * We set the 'PLAYER_REGGED' cell of our 'gPlayerInfo[playerid]' array to 1. This is so that if he types '/register [password]' again, he will trigger this line: |