Dini and array
#2

pawn Код:
enum
        pinfo
{
   pSmugglerWait
}
new playerINFO[MAX_PLAYERS][pinfo];
if( (gettime()- playerINFO[playerid][pSmugglerWait]) > 120 )    // error here
    {
                .
                .
                .
                playerINFO[playerid][pSmugglerWait] = gettime();
        }
I am comfortable using named enums, so try this?
Now you can just write dini_writeINT to write into the files, since it's just an integer.
Reply


Messages In This Thread
Dini and array - by dominik523 - 06.05.2013, 07:55
Re: Dini and array - by RajatPawar - 06.05.2013, 08:02
Re: Dini and array - by dominik523 - 06.05.2013, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)