CITMTA & CIT FixCIT Tools

MTA: San Andreas scripting

MTA:SA script and resource numbers

These numbers are for people writing MTA resources. They are not the codes a player sees in a dialog: they arrive in events and callbacks such as onClientBrowserLoadingFailed, fetchRemote and the client manual's tables. They are listed here because the same number means different things in different places.

Browser loading failures

The number given to onClientBrowserLoadingFailed when a page inside the game fails to load.

NumberMeaning
0No error
-2General failure
-3Cancelled
-4Argument invalid
-5Handle invalid
-6File absent
-7Timeout
-8Oversized file
-9Unexpected failure
-10Access denied
-11Unimplemented operation
-100Connection closed
-101Connection reset
-102Connection refused
-103Connection aborted
-104Connection failed
-105Name unresolved
-106Internet disconnected
-107SSL protocol failure
-108Address invalid
-109Address unreachable
-110Client certificate required
-111Tunnel connection failed
-112SSL versions disabled
-113SSL version/cipher mismatch
-114SSL renegotiation requested
-200Certificate hostname mismatch
-201Certificate date invalid
-202Certificate authority invalid
-203Certificate errors
-204Revocation mechanism absent
-205Revocation check unavailable
-206Certificate revoked
-207Certificate invalid
-208Certificate range-end marker
-300URL invalid
-301Scheme disallowed
-302Scheme unknown
-310Excess redirects
-311Unsafe redirect
-312Unsafe port
-320Response invalid
-321Chunk encoding invalid
-322Method unsupported
-323Unexpected proxy authentication
-324Empty response
-325Oversized response headers
-400Cache miss
-501Insecure response

Client download errors

The client manual's download error numbers.

NumberMeaning
0Unclassified failure
1File descriptors invalid
2Maximum descriptor invalid
3Select result invalid
4Initial multi-perform invalid
5Multi-perform result invalid
6New-download multi-perform invalid
7Unexpected cURL message
8Connection unavailable
9Download failed
10Download initialization failed

Fatal client errors

The client manual's fatal error numbers.

NumberMeaning
1Ingame-event player-model absent
2Ingame-event player absent
3Server downloads disabled
4Player-list player-model absent
5Player-list player absent
6Entity custom-data length invalid
7Entity bitstream invalid
8System entity received
9Object creation failed
10Pickup creation failed
11Vehicle creation failed
12Team-name length invalid
13Lua-event-name length invalid
14Resource-name length invalid

Unable to enter a vehicle

Why the client refused a vehicle entry.

NumberMeaning
1Script cancellation
2Script cancellation: jacking
3Occupier entering/exiting
4Seat invalid
5Too distant
6Already seated
7Entry/exit underway
8Trailer/invalid vehicle

fetchRemote and callRemote

MTA's own result numbers. Values from 1 to 89 are cURL results and belong to that library, not to MTA.

NumberMeaning
1002Request aborted
1003Initialization failure
1004URL parse failure
1005Hostname resolution failure
1006Destination IP disallowed
1007File operation failure

Where this comes from

Meanings read from these sources on 5 September 2026 and written in our own words here.