SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > 0.3.7 RC Scripting

Thread Tools Display Modes
Old 13/07/2015, 04:47 PM   #1
Big Clucker
HarrisonC's Avatar
Join Date: Aug 2012
Location: United Kingdom
Posts: 91
Reputation: 21
Default Entering & Exiting vehicle states

Another post from me guys - this is separate to what I wrote about the objects disappearing when I exit a vehicle.
I decided to log what states the player goes into when entering and exiting a vehicle

When entering the vehicle it showed:
[17:43:06] Marcus_Williams changed state to 2 from 1
[17:43:09] Marcus_Williams changed state to 8 from 1

When exiting the vehicle it showed:
[17:43:09] Marcus_Williams changed state to 1 from 2
[17:43:10] Marcus_Williams changed state to 1 from 8

I need a second opinion on this because I find it really strange that the breakdown is like this


Is this normal? I thought I was already spawned when these logs showed up
[17:40:55] [join] Marcus_Williams has joined the server
[17:41:00] Marcus_Williams changed state to 9 from 0
[17:41:03] Marcus_Williams changed state to 8 from 9
[17:41:03] Marcus_Williams changed state to 1 from 8
HarrisonC is offline  
Old 15/07/2015, 09:10 AM   #2
Jack_Leslie's Avatar
Join Date: Feb 2011
Location: Australia
Posts: 1,219
Reputation: 98
Default Re: Entering & Exiting vehicle states

[17:43:06] Marcus_Williams changed state to 2 from 1
1 PLAYER_STATE_ONFOOT Player is on foot
2 PLAYER_STATE_DRIVER Player is the driver of a vehicle
So, what your log is saying, is when the player entered the vehicle, it changed TO player_state_driver FROM player_state_onfoot. What's wrong with that?
Jack_Leslie is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering and exiting modshops BeckzyBoi Bug Reports 0 21/10/2009 05:22 PM
NPC Exiting Vehicle niCe Help Archive 2 04/10/2009 12:49 PM
Entering Places/Exiting Places Sal_Kings Help Archive 2 02/08/2009 11:01 PM
Entering and Exiting SimonXY Help Archive 15 03/06/2009 05:14 AM
Need help with ENTERING/EXITING buildings. ricis5543 Server Support 1 02/02/2009 02:51 PM

All times are GMT. The time now is 12:09 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.