Posts: 357
Threads: 6
Joined: Feb 2018
try to debug the values and check the server log.
put this inside SavePlayerInfo
pawn Код:
printf(" %i Score and %i Money" sInfo[playerid][XP], sInfo[playerid][pinigai]);
Posts: 262
Threads: 33
Joined: Mar 2018
Reputation:
0
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[16:25:44] filterscripts = "" (string)
[16:25:44] query = 1 (bool)
[16:25:44] password = "" (string)
[16:25:44] rcon = 1 (bool)
[16:25:44] lagcompmode = 1 (int)
[16:25:44] sleep = 5 (int)
[16:25:44] ackslimit = 3000 (int)
[16:25:44]
[16:25:44] Server Plugins
[16:25:44] --------------
[16:25:44] Loading plugin: streamer.so
[16:25:44]
*** Streamer Plugin v2.9.3 by Incognito loaded ***
[16:25:44] Loaded.
[16:25:44] Loading plugin: sscanf.so
[16:25:44]
[16:25:44] ===============================
[16:25:44] sscanf plugin loaded.
[16:25:44] Version: 2.8.2
[16:25:44] © 2012 Alex "******" Cole
[16:25:44] ===============================
[16:25:44] Loaded.
[16:25:44] Loading plugin: mysql.so
[16:25:44] >> plugin.mysql: R34 successfully loaded.
[16:25:44] Loaded.
[16:25:44] Loaded 3 plugins.
[16:25:44]
[16:25:44] Ban list
[16:25:44] --------
[16:25:44] Loaded: samp.ban
[16:25:44]
[16:25:44]
[16:25:44] Filterscripts
[16:25:44] ---------------
[16:25:44] Loaded 0 filterscripts.
[16:25:44] ==================================
[16:25:44] NevLocus GameMode by haX0r
[16:25:44] ==================================
[16:25:44] Number of vehicle models: 1
[16:26:02] [connection] ...... requests connection cookie.
[16:26:03] [connection] incoming connection:....... id: 0
[16:26:04] [join] Minerva has joined the server (.....)
[16:27:02] [part] Minerva has left the server (0:1)
Not printed
Posts: 357
Threads: 6
Joined: Feb 2018
You should Reset Variables in OnPlayerConnect (before loading player's data). OnPlayerDisconnect should only save player data (except natives). Remove ResetPlayerInfo(playerid); from OnPlayerDisconnect and put it in OnPlayerConnect.
Posts: 262
Threads: 33
Joined: Mar 2018
Reputation:
0
Also not working
My plugin version R34