10.06.2014, 19:45
Sorry for bumping the topic but I just found an easier way to exit the tram without having the camera problem.Here is the code which has to be added to OnPlayerStateChange callback:
Also I noticed another bug with trains,and especially Freight(the cargo train): when exiting a cargo train,the player gets stuck inside the train.I'll be thankful if someone comes up with a fix.
pawn Code:
if(oldstate == PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER) if(GetVehicleModel(vid) == 449) SetCameraBehindPlayer(playerid);

