Dini and array
#1

Hey! I have a job drug smuggler and I want to create that after you are done with your work, you wil have to wait 2 minutes to do it again, and time will be saved in your account. This is part of my command:
Код:
enum
        pinfo
{
   pSmugglerWait
}

if( (gettime()- pSmugglerWait[playerid]) > 120 )    // error here
	{
                .
                . 
                .
                pSmugglerWait[playerid] = gettime();
        }
And after I try to compile, I get this error:
invalid subscript (not an array or too many subscripts): "pSmugglerWait"
So I guess my variable pSmugglerWait has to be array, I know how to create it buy I dont know how to set so array will be saved to user account using dini. Please help me.
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: 4 Guest(s)