Slapped Together some Script and Im getting 3 Identical Errorrs,
#2

pawn Код:
enum PLAYER_MAIN {
    FACTION_RANK,
    CASH
}

new PlayerInfo[MAX_PLAYERS][PLAYER_MAIN];
pawn Код:
public OnPlayerConnect(playerid)
{

    new file[100],Name[MAX_PLAYER_NAME],Ip[16];
        GetPlayerName(playerid,Name,sizeof(Name));
        format(file,sizeof(file),PlayerFile,Name);

    if(!dini_Exists(file))
        {
         dini_Create(file);
         dini_Set(file,"FACTION_RANK",FACTION_RANK);
         dini_Set(file,"CASH",CASH);
         }
   return 1;
}
im pretty sure this will work...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)