Other player with same id
#1

Hi,

For example my player id is 5. I out from server other player connect and him id is too 5. I have mysql saving when player disconect and i update with player variables MONEY[ playerid ], XP[ playerid ] etc.. And too i have made when player connect i set 0 or null to all variables, that means when i disconnect other player can join and when onplayerdisconnect will be called then saving will be other player not me. Or just when OnPlayerDisconnect call back end is then other player can just connect.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)