Dialog and Enum Compatability
#2

Ohh, well thats cuz there are no enums involved in your script.

To save your enums you have to add all those things on - OnPlayerDisconnect callback, you can read some tutorials about saving and loading systems.

And of course you have to give a value or index (dunno how to say that) to your enums, for example

Код:
 if(dialogid == 13) {
            if(!response) return 1;
                if(response)
                    {
                           FactionInfo[playerid][factionid] = 1;
                    }
          }
Sorry for idents.

Maybe i understood you wrong, there is second version.

change
Код:
INI_WriteString(File,"Rank2",inputtext);
to
Код:
INI_WriteString(File," FactionInfo[playerid][Rank2]",inputtext);
Reply


Messages In This Thread
Dialog and Enum Compatability - by lramos15 - 11.10.2013, 21:33
Re: Dialog and Enum Compatability - by edzis84 - 11.10.2013, 21:43
Re: Dialog and Enum Compatability - by lramos15 - 11.10.2013, 22:15
Re: Dialog and Enum Compatability - by lramos15 - 12.10.2013, 02:15

Forum Jump:


Users browsing this thread: 1 Guest(s)