Server Crash when exits a vehicle
#1

I have been testing my script on a recent update (which didn't change anything with vehicles, I only added some textdraws). It seems that if I enter any vehicle, it works fine. But when I exit the vehicle, the samp-server.exe just shuts down.

I have tried removing my OnPlayerStateChange and OnPlayerExitVehicle both completely. Still no effect. Can someone tell me where to look?

Thanks.
Reply
#2

Are you sure the textdraws are not empty strings?
Reply
#3

Also, a not-float -ed format can crash. (for example format(text,sizeof(text),"%s")

If you don't find anything, just try to add a TextDrawSetString(textdraw,"_"); under OnPlayerExitVehicle..
Reply
#4

I deleted all Textdraws that I recently added and it still happens. (There are also no textdraws that are being set / created when someone enters a vehicle)

Perhaps it can be something else besides text draws?
Reply
#5

Solved. Thank you guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)