gTeam save on quit
#1

Hello.
I have a question.
I tried to do that, when you exit from server, the team is save to %s.ini file.
But it failed...

Код:
C:\Users\Gebhard\Downloads\samp03csvr_win32\gamemodes\varosielet.pwn(1900) : error 006: must be assigned to an array
1900th line:

pawn Код:
PlayerInfo[playerid][pGang] = dini_Get(file, "pGang");

What should I do to work?
Thanks..
Reply
#2

To write anything to a file, you shouldn't use dini_get function.
Use dini_set.
Reply
#3

Oh. As I understand it, if you log in, setup the team you selected when you registered yet. Because now I do that when I login, you can also request to choose a team.
The need to save the team's on quit.

Sorry for bad english, i'm use ****** Translator...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)