Connection status

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:40, 3 August 2017
OstGot (Talk | contribs)
(Connectionstatus moved to Connection status)
← Previous diff
Current revision
GangstaSunny (Talk | contribs)

Line 7: Line 7:
|0||NO_ACTION|| unknown |0||NO_ACTION|| unknown
|- |-
-|1||DISCONNECT_ASAP|| unknown+|1||DISCONNECT_ASAP|| playerid still exists but OnPlayerDisconnect have already been called.
|- |-
|2||DISCONNECT_ASAP_SILENTLY|| unknown |2||DISCONNECT_ASAP_SILENTLY|| unknown
Line 13: Line 13:
|3||DISCONNECT_ON_NO_ACK|| unknown |3||DISCONNECT_ON_NO_ACK|| unknown
|- |-
-|4||REQUESTED_CONNECTION|| unknown+|4||REQUESTED_CONNECTION|| connection request "cookie" has been sent for this ID
|- |-
|5||HANDLING_CONNECTION_REQUEST|| unknown |5||HANDLING_CONNECTION_REQUEST|| unknown
Line 21: Line 21:
|7||SET_ENCRYPTION_ON_MULTIPLE_16_BYTE_PACKET|| unknown |7||SET_ENCRYPTION_ON_MULTIPLE_16_BYTE_PACKET|| unknown
|- |-
-|8||CONNECTED|| unknown+|8||CONNECTED|| playerid is connected to the server
|- |-
[[Category:Scripting Documentation]] [[Category:Scripting Documentation]]

Current revision

To be used with NetStats_ConnectionStatus.

Often used

IDState Meaning
0NO_ACTION unknown
1DISCONNECT_ASAP playerid still exists but OnPlayerDisconnect have already been called.
2DISCONNECT_ASAP_SILENTLY unknown
3DISCONNECT_ON_NO_ACK unknown
4REQUESTED_CONNECTION connection request "cookie" has been sent for this ID
5HANDLING_CONNECTION_REQUEST unknown
6UNVERIFIED_SENDER unknown
7SET_ENCRYPTION_ON_MULTIPLE_16_BYTE_PACKET unknown
8CONNECTED playerid is connected to the server
Personal tools