26.01.2016, 20:37
Hello!
I've made a similiar topic a day ago but the problem has changed.
For some reason this function (located in OnPlayerConnect) gets called A LOT of times for no reason, when it clearly should execute only once.
Logs:
I've made a similiar topic a day ago but the problem has changed.
For some reason this function (located in OnPlayerConnect) gets called A LOT of times for no reason, when it clearly should execute only once.
Код:
if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); AktywnyDialog[playerid] = 2; ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD,"Logowanie","{FFA500}* * * LOGOWANIE\n\n{FFFFFF}Witamy ponownie, wpisz swoje {FF0000}hasło{FFFFFF}, aby się zalogować.\n","Zaloguj","Wyjdź"); }
Код:
forward LoadUser_data(playerid,name[],value[]); public LoadUser_data(playerid,name[],value[]) { printf("* test"); return 1; }
Код:
[22:34:26] [join] Amads has joined the server (0:127.0.0.1) [22:34:26] * test [22:34:26] * test [22:34:26] * test [22:34:26] * test [22:34:26] * test [22:34:26] * test [22:34:26] * test And it goes on and on...