09.12.2017, 18:26
Quote:
I did that but now i get errors on the following lines:
C:\Users\Abc Winkel\Desktop\New SAMP Project\gamemodes\New.pwn(42197) : error 033: array must be indexed (variable "CharacterFirstname") C:\Users\Abc Winkel\Desktop\New SAMP Project\gamemodes\New.pwn(42440) : error 035: argument type mismatch (argument 3) Код:
CharacterFirstname[playerid]=INI_Int(Acc(playerid),"CharacterFirstname"); //line 42197 INI_IntSet(Acc(playerid),"CharacterFirstname",CharacterFirstname[playerid]);//line 42440 |
You must use INI_String and INI_StringSet instead. I never used the ini include so I'm only guessing those are the names.
If they are not working tell me which INI Include you are using and I can tell you the correct way of storing/reading it.