[help]Player vehicle id messed up
#1

yesterday, im modifying vehicle system from 1 slot per player to 5 slot per player, its use SQL system, when i tested with some friend (6 - 9 people) it run perfectly, no bug found, but when i released my server to players the vehicle id is messed up, 2 players can have 1 same vehicle id, any help ?

if you need info about my code, ill post it.. thx
Reply
#2

thanks its fixed, the problem is when the player Alttabed, the script set the player status to 0 (unauth player) and when the player back, i forget to set their status to 1 (auth player),

onplayerdisconnect, its destroy player vehicle if the status is 1, thanks ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)