Vehicle problem
#1

Hi guys, i am using this vehicle system on my server, https://sampforum.blast.hk/showthread.php?tid=276887 its a very nice sytem, but when a player disconnect his car remain in game, thats mean that if i have 50 players and they have 5 vehicles each other then all those cars exist on game the same time and the server is lagg.. , someone may show me how to modifie that, or onother nice system but with load cars on player connect??
Reply
#2

I think you could just destroy it on logout, and then read from the Vehicles bit of AVS and just load that same car with the exact specifications that it had.
Reply
#3

Quote:
Originally Posted by K9IsGodly
Посмотреть сообщение
I think you could just destroy it on logout, and then read from the Vehicles bit of AVS and just load that same car with the exact specifications that it had.
thanks for reply man, but the problem is that avs save the car in a text file with name of car id not the owner name, and its also says on filterscript init "loadvehicles" which means that load all cars together, how i can just load player's cars id on player connect?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)