Player freezing everytime they walk, cannot enter cars, jump etc -
DBan - 14.06.2011
Hey, I have a little problem. This wasn't happening on the script before but for some reason now it is. Everytime someone tries to walk it freezes them for like a milisecond so they cannot run. If they try to jump it freezes them for a milisecond so they cant jump. If they try to enter a car, they can't because it freezes them for a milisecond and it resets them to the position they were in when they pressed enter to enter the car. It didnt freeze before I added alot of code, now it is.
Any ideas why this is happening??
BTW sorry I accidentally posted this in server support when its most likely a scripting problem
Re: Player freezing everytime they walk, cannot enter cars, jump etc -
PrawkC - 14.06.2011
you're probably returning 0 some where in onplayerupdate
Re: Player freezing everytime they walk, cannot enter cars, jump etc -
Jack_Rocker - 14.06.2011
Post your onplayerupdate callback here
Re: Player freezing everytime they walk, cannot enter cars, jump etc - Deskoft - 14.06.2011
Press your Ctrl + F Button, and search for this: "TogglePlayerControllable".
Re: Player freezing everytime they walk, cannot enter cars, jump etc -
DBan - 15.06.2011
Quote:
Originally Posted by Deskoft
Press your Ctrl + F Button, and search for this: "TogglePlayerControllable".
|
Well what to do with it when i see it, It is used over 10 times, You also didn't state where in the script to search for it, Like a command/callback? I need more details please
thanks
Re: Player freezing everytime they walk, cannot enter cars, jump etc - Deskoft - 15.06.2011
Post every single time you use it here between [PAWN] /PAWN] brackets, state in what callback / function it's inside.
Re: Player freezing everytime they walk, cannot enter cars, jump etc -
Swiftz - 16.06.2011
so much of code under onplayerupdate?? Or maybe ur using fuel/veh health/lock system?