11.04.2013, 12:24
Ya you need to set that value to the variable it would be loaded from when they log in so basically your doing this when the register this way their array has the value set after registering and it is also saved in file when they log in I hope this clears things up.
PlayerInfo[playerid][pCode] = random(500);
INI_WriteInt("Code", PlayerInfo[playerid][pCode]);
PlayerInfo[playerid][pCode] = random(500);
INI_WriteInt("Code", PlayerInfo[playerid][pCode]);