#1

hey guys i have a glich on my server that a player can enter any car until relog only i have this problem ? or what should i search for to solve this ?
Reply
#2

You would have to give us parts of the code, but generally from what you are describing, cars have it by default being unlocked and they are set to locked OnPlayerDisconnect? As said without more information it's pretty hard to find the problem, don't take me wrong.
Reply
#3

yea that's the idea i didn't know what part of script should i post it here or search it to see if is locked or not
Reply
#4

Wherever you set them first time of being locked. OnGameModeInit() perhaps. Or generally anywhere you have used SetVehicleParamsForPlayer() in the script:

https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)