Category:Useful Functions: Difference between revisions
Jump to navigation
Jump to search
(previous page) (next page)
m (added green border) |
mNo edit summary |
||
Line 4: | Line 4: | ||
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 [[GetTimestamp|here]]. | 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 [[GetTimestamp|here]]. | ||
'''Don't forget to add | '''Don't forget to add the function to the Useful functions category with <nowiki>{{Useful Function}}</nowiki>!''' | ||
Please don't delete or modify functions of others for no reason. | Please don't delete or modify functions of others for no reason. | ||
By the way: The idea came from [http://forum.multitheftauto.com/viewtopic.php?f=91&t=22861&start=0&st=0&sk=t&sd=a an outdated topic on the forums]. | By the way: The idea came from [http://forum.multitheftauto.com/viewtopic.php?f=91&t=22861&start=0&st=0&sk=t&sd=a an outdated topic on the forums]. |
Revision as of 13:09, 14 May 2009
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 the function to the Useful functions category with {{Useful Function}}! Please don't delete or modify functions of others for no reason.
By the way: The idea came from an outdated topic on the forums.
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