[Tutorial] Exiting Tram without having problem
#15

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:
pawn Code:
if(oldstate == PLAYER_STATE_DRIVER || PLAYER_STATE_PASSENGER) if(GetVehicleModel(vid) == 449) SetCameraBehindPlayer(playerid);
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)