Player stats not saving
#1

delete.
Reply
#2

you are not saving player status in OnPlayerDisconnect
you are just loading
Reply
#3

Quote:
Originally Posted by gurmani11
Посмотреть сообщение
you are not saving player status in OnPlayerDisconnect
you are just loading
Yes i am.
Reply
#4

Show code instead of Argumentation
Reply
#5

delete.
Reply
#6

You're not bringing any data back once player is connected after MySQL query request is done.

Also, you have to show the "savePlayerData(playerid)" stock function.
Reply
#7

delete.
Reply
#8

You have to reset them when the player connects & disconnects.
Example:
pawn Код:
playerVariables[playerid][pLevel] = 0;
playerVariables[playerid][pAdminLevel] = 0;
and so on..
Reply
#9

delete.
Reply
#10

Show your playerVariables enum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)