Category:Useful Functions
Jump to navigation
Jump to search
The Useful Functions category contains Lua functions contributed by our community. Feel free to use them in your scripts but also to add new useful functions or optimize existing ones.
Be geared to the style of MTA's server and client functions. A good example of how a useful function page should look like you can get here. Don't forget to add your useful function to the Useful Functions category! Please don't delete or modify functions of others without any reason.
Pages in category "Useful Functions"
The following 132 pages are in this category, out of 332 total.
(previous page) (next page)I
- IsPedDiving
- IsPedDrivingVehicle
- IsPedNearbyWall
- IsPlayerAccount
- IsPlayerActuallyInVehicle
- IsPlayerInACL
- IsPlayerInTeam
- IsPlayerStaff
- IsSoundFinished
- IsTextInGridList
- IsValidMail
- IsValidSkin
- IsValueInTable
- IsVehicleDoubleExhaust
- IsVehicleEmpty
- IsVehicleOccupied
- IsVehicleOnFire
- IsVehicleOnRoof
- IsVehicleReversing
- IsVehicleUpgraded
- IterElements
M
P
- PairsByKeys
- PL/Animate
- PL/getAge
- PL/Hsv2rgb
- PL/isPlayerOnline
- PL/OutputChatBoxWithEnter
- PlayVideo
- PlotTrajectoryAtTime
- Preprocessor
- PT-BR/Animate
- PT-BR/GetFilesInResourceFolder
- PT-BR/GetResourceSize
- PT-BR/IsPlayerIncludedOn
- PT-BR/Math.percentProgress
- PT-BR/RGBToDecimal
- PT-BR/String.insert
- PT-BR/takeNumFromElementData
R
S
- SCamera
- SecondsToTimeDesc
- SendMailTo
- SetBindKeyWindowShow
- SetCursorCenteredOnRectangle
- SetElementSpeed
- SetPedAttack
- SetPedClothes
- SetPedFollow
- SetPedMaxHealth
- SetResourcePriority
- SetScreenFlash
- SetTableProtected
- SetTableToSql
- SetVehicleGravityPoint
- SetVehicleHandlingFromText
- SetVehicleTurnVelocityCenterOfMass
- SetVehicleWheelModel
- SmoothMoveCamera
- Sort Functions
- SplitMultiple
- StopSoundSlowly
- String.count
- String.endsWith
- String.explode
- String.insert
- String.repetition
- String.split
- String.startsWith
- SvgCreateRoundedRectangle
- Switch
T
Media in category "Useful Functions"
This category contains only the following file.
- Drawcircleonelementdemo.jpg 1,181 × 1,001; 120 KB