https://wiki.multitheftauto.com/api.php?action=feedcontributions&user=Awwu&feedformat=atom
Multi Theft Auto: Wiki - User contributions [en]
2024-03-28T09:58:36Z
User contributions
MediaWiki 1.39.3
https://wiki.multitheftauto.com/index.php?title=User:Awwu&diff=23692
User:Awwu
2010-06-11T21:14:18Z
<p>Awwu: </p>
<hr />
<div><font size="7">'''HAI DER'''</font><br />
<br />
<br />
[http://community.mtasa.com/index.php?p=profile&id=1792 MTA Community]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=GetPedWeapon&diff=23691
GetPedWeapon
2010-06-11T21:08:08Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function tells you which weapon type is in a certain weapon slot of a ped. See [[weapon|Weapon Info]]<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int getPedWeapon ( ped thePed, [ int weaponSlot = current ] )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePed''': the [[ped]] you want to get the weapon type from.<br />
<br />
===Optional Arguments===<br />
*'''weaponSlot''': an integer representing the weapon slot (set to the ped's current slot if not given).<br />
<br />
===Returns===<br />
Returns an [[int]] indicating the type of the weapon the ped has in the specified slot. <br />
<br />
It should be noted that if a ped runs out of ammo for a weapon, it will still return the ID of that weapon in the slot (even if it appears as if the ped does not have a weapon at all), though [[getPedTotalAmmo]] will return '''0'''. Therefore, [[getPedTotalAmmo]] should be used in conjunction with [[getPedWeapon]] in order to check if a ped has a weapon.<br />
<br />
==Example==<br />
This serverside example will display a player's current weapon type. In this case, it is hard coded to use the player called ''someguy''.<br />
<syntaxhighlight lang="lua"><br />
-- Find a player called someguy and find his current weapon id.<br />
local weaponType = getPedWeapon ( getPlayerFromNick ( "someguy" ) )<br />
-- If a weapon type was returned then<br />
if ( weaponType ) then<br />
outputChatBox ( "someguy's current Weapon-type: " .. weaponType .. "." ) -- Display the weapon type in the chat box<br />
end<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_ped_functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=GetPedTotalAmmo&diff=23690
GetPedTotalAmmo
2010-06-11T21:07:50Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function returns an integer that contains the total ammo in a specified [[ped]]'s weapon. See [[weapon|Weapon Info]]<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int getPedTotalAmmo ( ped thePed, [ int weaponSlot = current ] )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePed''': The [[ped]] whose ammo you want to check.<br />
<br />
===Optional Arguments===<br />
*'''weaponSlot''': an integer representing the weapon slot (set to the ped's current slot if not given)<br />
<br />
===Returns===<br />
Returns an [[int]] containing the total amount of ammo for the specified ped's weapon, or 0 if the ped specified is invalid.<br />
<br />
==Example==<br />
This example outputs the total amount of ammo a player called ''Someguy'' has for his weapon.<br />
<syntaxhighlight lang="lua"><br />
-- Find the player called 'Someguy'<br />
myPlayer = getPlayerFromNick ( "Someguy" )<br />
-- If a player called 'Someguy' was found then<br />
if ( myPlayer ) then<br />
-- Retrieve the total amount of ammo for that player, and store it in a variable called 'ammo'<br />
ammo = getPedTotalAmmo ( myPlayer )<br />
-- Tell all the players how much ammo 'Someguy' has<br />
outputChatBox ( "Someguy's current total ammo: " .. ammo .. "." )<br />
end<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_ped_functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=GetPedAmmoInClip&diff=23689
GetPedAmmoInClip
2010-06-11T21:07:39Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function returns an integer that contains the ammo in a specified [[ped]]'s weapon. See [[weapon|Weapon Info]]<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int getPedAmmoInClip ( ped thePed [, int weaponSlot = current ] )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePed:''' The [[ped]] whose ammo you want to check.<br />
<br />
===Optional Arguments===<br />
*'''weaponSlot:''' an integer representing the weapon slot (set to the ped's currently selected slot if not specified).<br />
<br />
===Returns===<br />
Returns an [[int]] containing the amount of ammo in the specified ped's currently selected or specified clip, or 0 if the ped specified is invalid.<br />
<br />
==Example==<br />
This example outputs the amount of ammo the specified player has in his current slot. For example: 'ammo someguy'.<br />
<syntaxhighlight lang="lua"><br />
function showAmmo( command, who )<br />
local targetPlayer = getPlayerFromNick ( who )<br />
if ( thePlayer ) then<br />
local ammo = getPedAmmoInClip ( targetPlayer )<br />
outputChatBox ( who .. " has " .. ammo .. " ammo in his active clip" )<br />
else<br />
outputChatBox ( "Player '" .. who .. "' not found." )<br />
end<br />
end<br />
addCommandHandler( "ammo", showAmmo )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_ped_functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_player_events&diff=23688
Template:Client player events
2010-06-11T21:04:25Z
<p>Awwu: </p>
<hr />
<div>*[[onClientPlayerJoin]]<br />
*[[onClientPlayerQuit]]<br />
*[[onClientPlayerWeaponFire]]<br />
*[[onClientPlayerWeaponSwitch]]<br />
*[[onClientPlayerTarget]]<br />
*[[onClientPlayerDamage]]<br />
*[[onClientPlayerSpawn]]<br />
*[[onClientPlayerWasted]]<br />
*[[onClientPlayerVehicleEnter]]<br />
*[[onClientPlayerVehicleExit]]<br />
*[[onClientPlayerChangeNick]]<br />
*[[onClientPlayerStuntStart]]<br />
*[[onClientPlayerStuntFinish]]<br />
{{New feature|3|1.0|<br />
*[[onClientPlayerChoke]]<br />
*[[onClientPlayerRadioSwitch]]<br />
}}<br />
{{New feature|3.0004|1.0.4|<br />
*[[onClientPlayerStealthKill]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_functions&diff=23687
Template:Client vehicle functions
2010-06-11T21:03:59Z
<p>Awwu: </p>
<hr />
<div>*[[addVehicleUpgrade]]<br />
*[[attachTrailerToVehicle]]<br />
*[[blowVehicle]]<br />
*[[createVehicle]]<br />
*[[detachTrailerFromVehicle]]<br />
*[[fixVehicle]]<br />
*[[getVehicleAdjustableProperty]]<br />
*[[getVehicleColor]]<br />
*[[getVehicleCompatibleUpgrades]]<br />
*[[getVehicleController]]<br />
*[[getVehicleDoorState]]<br />
*[[getVehicleLandingGearDown]]<br />
*[[getVehicleLightState]]<br />
*[[getVehicleMaxPassengers]]<br />
*[[getVehicleName]]<br />
*[[getVehicleOccupant]]<br />
{{New feature|3.0004|1.0.4|<br />
* [[getVehicleOccupants]]<br />
}}<br />
*[[getVehicleOverrideLights]]<br />
*[[getVehiclePaintjob]]<br />
*[[getVehiclePanelState]]<br />
*[[getVehiclePlateText]]<br />
*[[getVehicleRotation]]<br />
*[[getVehicleSirensOn]]<br />
*[[getVehicleTowedByVehicle]]<br />
*[[getVehicleTowingVehicle]]<br />
*[[getVehicleTurnVelocity]]<br />
*[[getVehicleTurretPosition]]<br />
*[[getVehicleUpgradeOnSlot]]<br />
*[[getVehicleUpgrades]]<br />
*[[getVehicleUpgradeSlotName]]<br />
*[[getVehicleWheelStates]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[isVehicleDamageProof]]<br />
}}<br />
*[[isVehicleFrozen]]<br />
*[[isVehicleFuelTankExplodable]]<br />
*[[isVehicleLocked]]<br />
*[[isVehicleOnGround]]<br />
*[[removeVehicleUpgrade]]<br />
*[[setVehicleAdjustableProperty]]<br />
*[[setVehicleColor]]<br />
*[[setVehicleDamageProof]]<br />
*[[setVehicleDirtLevel]]<br />
*[[setVehicleDoorState]]<br />
*[[setVehicleDoorsUndamageable]]<br />
*[[setVehicleEngineState]]<br />
*[[setVehicleFrozen]]<br />
*[[setVehicleFuelTankExplodable]]<br />
*[[setVehicleLandingGearDown]]<br />
*[[setVehicleLightState]]<br />
*[[setVehicleLocked]]<br />
*[[setVehicleOverrideLights]]<br />
*[[setVehiclePaintjob]]<br />
*[[setVehiclePanelState]]<br />
*[[setVehicleRotation]]<br />
*[[setVehicleSirensOn]]<br />
*[[setVehicleTurnVelocity]]<br />
*[[setVehicleWheelStates]]<br />
{{New feature|3|1.0|<br />
*[[getHelicopterRotorSpeed]]<br />
*[[getTrainDirection]]<br />
*[[getTrainSpeed]]<br />
*[[getVehicleGravity]]<br />
*[[getVehicleHeadLightColor]]<br />
*[[getVehicleModelFromName]]<br />
*[[getVehicleNameFromModel]]<br />
*[[getVehicleType]]<br />
*[[isTrainDerailable]]<br />
*[[isTrainDerailed]]<br />
*[[isVehicleBlown]]<br />
*[[isVehicleTaxiLightOn]]<br />
*[[setHelicopterRotorSpeed]]<br />
*[[setTrainDerailable]]<br />
*[[setTrainDerailed]]<br />
*[[setTrainDirection]]<br />
*[[setTrainSpeed]]<br />
*[[setVehicleGravity]]<br />
*[[setVehicleHeadLightColor]]<br />
*[[setVehicleTaxiLightOn]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[getVehicleID]]<br />
*[[getVehicleIDFromName]]<br />
*[[getVehicleNameFromID]]<br />
*[[setVehicleModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_utility_functions&diff=23686
Template:Client utility functions
2010-06-11T21:03:23Z
<p>Awwu: </p>
<hr />
<div>* [[getDistanceBetweenPoints2D]]<br />
* [[getDistanceBetweenPoints3D]]<br />
* [[getRealTime]]<br />
* [[getTickCount]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getTimerDetails]]<br />
}}<br />
* [[getTimers]]<br />
* [[gettok]]<br />
* [[killTimer]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[resetTimer]]<br />
}}<br />
* [[setTimer]]<br />
* [[split]]<br />
* [[getVersion]]<br />
* [[isTimer]]<br />
* [[md5]]<br />
* [[tocolor]]<br />
<!--<br />
* [[ref]]<br />
* [[deref]]<br />
--></div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_projectile_functions&diff=23685
Template:Client projectile functions
2010-06-11T21:02:53Z
<p>Awwu: </p>
<hr />
<div>*[[createProjectile]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getProjectileCreator]]<br />
*[[getProjectileForce]]<br />
*[[getProjectileTarget]]<br />
}}<br />
{{New feature|3|1.0|<br />
*[[getProjectileType]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_input_functions&diff=23684
Template:Client input functions
2010-06-11T21:02:26Z
<p>Awwu: </p>
<hr />
<div>*[[bindKey]]<br />
*[[unbindKey]]<br />
*[[getKeyState]]<br />
{{New_feature|3.0004|1.0.4|<br />
*[[getCommandsBoundToKey]]<br />
*[[getFunctionsBoundToKey]]<br />
*[[getKeyBoundToCommand]]<br />
*[[getKeyBoundToFunction]]<br />
}}<br />
*[[getControlState]]<br />
*[[isControlEnabled]]<br />
*[[setControlState]]<br />
*[[toggleControl]]<br />
*[[toggleAllControls]]<br />
*[[getCursorPosition]]<br />
*[[addCommandHandler]]<br />
*[[removeCommandHandler]]<br />
*[[executeCommandHandler]]<br />
*[[getBoundKeys]]<br />
*[[getAnalogControlState]]<br />
*[[setCursorPosition]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:GUI_functions&diff=23683
Template:GUI functions
2010-06-11T21:01:53Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{New feature|3.0004|1.0.4|<br />
* [[getChatboxLayout]]<br />
}}<br />
* [[guiBringToFront]]<br />
* [[guiGetAlpha]]<br />
* [[guiGetEnabled]]<br />
* [[guiGetFont]]<br />
* [[guiGetInputEnabled]]<br />
* [[guiGetPosition]]<br />
* [[guiGetProperties]]<br />
* [[guiGetProperty]]<br />
* [[guiGetScreenSize]]<br />
* [[guiGetSize]]<br />
* [[guiGetText]]<br />
* [[guiGetVisible]]<br />
* [[guiMoveToBack]]<br />
* [[guiSetAlpha]]<br />
* [[guiSetEnabled]]<br />
* [[guiSetFont]]<br />
* [[guiSetInputEnabled]]<br />
* [[guiSetPosition]]<br />
* [[guiSetProperty]]<br />
* [[guiSetSize]]<br />
* [[guiSetText]]<br />
* [[guiSetVisible]]<br />
* [[isChatBoxInputActive]]<br />
* [[isConsoleActive]]<br />
* [[isDebugViewActive]]<br />
* [[isMainMenuActive]]<br />
* [[isMTAWindowActive]]<br />
* [[isTransferBoxActive]]<br />
<br />
===Buttons===<br />
* [[guiCreateButton]]<br />
<br />
===Checkboxes===<br />
* [[guiCheckBoxGetSelected]]<br />
* [[guiCheckBoxSetSelected]]<br />
* [[guiCreateCheckBox]]<br />
<br />
===Edit fields===<br />
* [[guiCreateEdit]]<br />
* [[guiEditSetMasked]]<br />
* [[guiEditSetMaxLength]]<br />
* [[guiEditSetReadOnly]]<br />
{{New feature|3|1.0|<br />
* [[guiEditSetCaretIndex]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
* [[guiEditSetCaratIndex]]<br />
}}<br />
<br />
===Gridlists===<br />
* [[guiCreateGridList]]<br />
* [[guiGridListAddColumn]]<br />
* [[guiGridListAddRow]]<br />
* [[guiGridListAutoSizeColumn]]<br />
* [[guiGridListClear]]<br />
* [[guiGridListGetItemData]]<br />
* [[guiGridListGetItemText]]<br />
* [[guiGridListGetRowCount]]<br />
* [[guiGridListGetSelectedItem]]<br />
* [[guiGridListInsertRowAfter]]<br />
* [[guiGridListRemoveColumn]]<br />
* [[guiGridListRemoveRow]]<br />
* [[guiGridListSetItemData]]<br />
* [[guiGridListSetItemText]]<br />
* [[guiGridListSetScrollBars]]<br />
* [[guiGridListSetSelectedItem]]<br />
* [[guiGridListSetSelectionMode]]<br />
* [[guiGridListSetSortingEnabled]]<br />
{{New feature|3|1.0|<br />
* [[guiGridListGetSelectedCount]]<br />
* [[guiGridListGetSelectedItems]]<br />
* [[guiGridListSetColumnWidth]]<br />
}}<br />
{{New feature|3.0004|1.0.4|<br />
* [[guiGridListGetItemColor]]<br />
* [[guiGridListSetItemColor]]<br />
}}<br />
<br />
===Memos===<br />
* [[guiCreateMemo]]<br />
* [[guiMemoSetReadOnly]]<br />
{{New feature|3|1.0|<br />
* [[guiMemoSetCaretIndex]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
* [[guiMemoSetCaratIndex]]<br />
}}<br />
<br />
===Progress bars===<br />
* [[guiCreateProgressBar]]<br />
* [[guiProgressBarGetProgress]]<br />
* [[guiProgressBarSetProgress]]<br />
<br />
===Radio buttons===<br />
* [[guiCreateRadioButton]]<br />
* [[guiRadioButtonGetSelected]]<br />
* [[guiRadioButtonSetSelected]]<br />
<br />
===Scrollbars===<br />
* [[guiCreateScrollBar]]<br />
* [[guiScrollBarGetScrollPosition]]<br />
* [[guiScrollBarSetScrollPosition]]<br />
<br />
===Scroll panes===<br />
* [[guiCreateScrollPane]]<br />
* [[guiScrollPaneGetHorizontalScrollPosition]]<br />
* [[guiScrollPaneGetVerticalScrollPosition]]<br />
* [[guiScrollPaneSetHorizontalScrollPosition]]<br />
* [[guiScrollPaneSetScrollBars]]<br />
* [[guiScrollPaneSetVerticalScrollPosition]]<br />
<br />
===Static images===<br />
* [[guiCreateStaticImage]]<br />
* [[guiStaticImageLoadImage]]<br />
<br />
===Tab panels===<br />
* [[guiCreateTabPanel]]<br />
{{New feature|3|1.0|<br />
* [[guiGetSelectedTab]]<br />
* [[guiSetSelectedTab]]<br />
}}<br />
<br />
===Tabs===<br />
* [[guiCreateTab]]<br />
* [[guiDeleteTab]]<br />
<br />
===Text labels===<br />
* [[guiCreateLabel]]<br />
* [[guiLabelGetFontHeight]]<br />
* [[guiLabelGetTextExtent]]<br />
* [[guiLabelSetColor]]<br />
* [[guiLabelSetHorizontalAlign]]<br />
* [[guiLabelSetVerticalAlign]]<br />
<br />
===Windows===<br />
* [[guiCreateWindow]]<br />
* [[guiWindowSetMovable]]<br />
* [[guiWindowSetSizable]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Engine_functions&diff=23682
Template:Engine functions
2010-06-11T21:01:20Z
<p>Awwu: </p>
<hr />
<div>* [[engineImportTXD]]<br />
* [[engineLoadCOL]]<br />
* [[engineLoadDFF]]<br />
* [[engineLoadTXD]]<br />
* [[engineReplaceCOL]]<br />
* [[engineReplaceModel]]<br />
* [[engineRestoreCOL]]<br />
* [[engineRestoreModel]]<br />
{{New feature|3.0004|1.0.4|<br />
* [[engineSetAsynchronousLoading]]<br />
}}<br />
{{New feature|3|1.0|<br />
* [[engineSetModelLODDistance]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
* [[engineImportCOL]]<br />
* [[engineReplaceObjectModel]]<br />
* [[engineReplaceVehicleModel]]<br />
* [[engineUnloadModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_element_functions&diff=23681
Template:Client element functions
2010-06-11T21:00:48Z
<p>Awwu: </p>
<hr />
<div>*[[createElement]]<br />
*[[destroyElement]]<br />
*[[getAttachedElements]]<br />
*[[getElementAttachedTo]]<br />
*[[getElementBoundingBox]]<br />
*[[getElementByID]]<br />
*[[getElementChild]]<br />
*[[getElementChildren]]<br />
*[[getElementChildrenCount]]<br />
*[[getElementData]]<br />
*[[getElementDimension]]<br />
*[[getElementDistanceFromCentreOfMassToBaseOfModel]]<br />
*[[getElementHealth]]<br />
*[[getElementID]]<br />
*[[getElementInterior]]<br />
*[[getElementParent]]<br />
*[[getElementPosition]]<br />
*[[getElementRadius]]<br />
*[[getElementsByType]]<br />
*[[getElementsWithinColShape]]<br />
*[[getElementType]]<br />
*[[getElementVelocity]]<br />
*[[getRootElement]]<br />
*[[isElement]]<br />
*[[isElementAttached]]<br />
*[[isElementLocal]]<br />
*[[isElementOnScreen]]<br />
*[[isElementStreamable]]<br />
*[[isElementStreamedIn]]<br />
*[[isElementWithinColShape]]<br />
*[[setElementAlpha]]<br />
*[[setElementCollisionsEnabled]]<br />
*[[setElementData]]<br />
*[[setElementDimension]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[setElementDoubleSided]]<br />
}}<br />
*[[setElementHealth]]<br />
*[[setElementInterior]]<br />
*[[setElementParent]]<br />
*[[setElementPosition]]<br />
*[[setElementStreamable]]<br />
*[[setElementVelocity]]<br />
{{New feature|3|1.0|<br />
*[[attachElements]]<br />
*[[detachElements]]<br />
*[[getElementColShape]]<br />
*[[getElementMatrix]]<br />
*[[getElementModel]]<br />
*[[getElementRotation]]<br />
*[[isElementInWater]]<br />
*[[isElementSyncer]]<br />
*[[setElementModel]]<br />
*[[setElementRotation]]<br />
}}<br />
{{New feature|3.0001|1.0.1|<br />
*[[isElementCollidableWith]]<br />
*[[setElementCollidableWith]]<br />
}}<br />
{{New feature|3.0004|1.0.4|<br />
*[[isElementDoubleSided]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[attachElementToElement]]<br />
*[[detachElementFromElement]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Drawing_functions&diff=23680
Template:Drawing functions
2010-06-11T21:00:14Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[dxDrawImage]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[dxDrawImageSection]]<br />
}}<br />
*[[dxDrawLine]]<br />
*[[dxDrawLine3D]]<br />
*[[dxDrawRectangle]]<br />
*[[dxDrawText]]<br />
*[[dxGetFontHeight]]<br />
*[[dxGetTextWidth]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_audio_functions&diff=23679
Template:Client audio functions
2010-06-11T20:59:49Z
<p>Awwu: </p>
<hr />
<div>*[[playSoundFrontEnd]]<br />
*[[getRadioChannel]]<br />
*[[getRadioChannelName]]<br />
*[[getSoundLength]]<br />
*[[getSoundMaxDistance]]<br />
*[[getSoundMinDistance]]<br />
*[[getSoundPosition]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getSoundSpeed]]<br />
}}<br />
*[[getSoundVolume]]<br />
*[[isSoundPaused]]<br />
*[[playSound]]<br />
*[[playSound3D]]<br />
*[[setRadioChannel]]<br />
*[[setSoundMaxDistance]]<br />
*[[setSoundMinDistance]]<br />
*[[setSoundPaused]]<br />
*[[setSoundPosition]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[setSoundSpeed]]<br />
}}<br />
*[[setSoundVolume]]<br />
*[[stopSound]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Player_events&diff=23678
Template:Player events
2010-06-11T20:59:13Z
<p>Awwu: </p>
<hr />
<div>*[[onPlayerBan]]<br />
*[[onPlayerChat]]<br />
{{New feature|3.0002|1.0.2|<br />
*[[onPlayerPrivateMessage]]<br />
}}<br />
{{New feature|3|1.0|<br />
*[[onPlayerConnect]]<br />
*[[onPlayerChangeNick]]<br />
*[[onPlayerLogin]]<br />
*[[onPlayerLogout]]<br />
}}<br />
*[[onPlayerDamage]]<br />
*[[onPlayerJoin]]<br />
*[[onPlayerQuit]]<br />
*[[onPlayerSpawn]]<br />
*[[onPlayerWasted]]<br />
*[[onPlayerTarget]]<br />
*[[onPlayerVehicleEnter]]<br />
*[[onPlayerVehicleExit]]<br />
*[[onPlayerWeaponSwitch]]<br />
*[[onPlayerMarkerHit]]<br />
*[[onPlayerMarkerLeave]]<br />
*[[onPlayerPickupHit]]<br />
*[[onPlayerPickupUse]]<br />
*[[onPlayerClick]]<br />
*[[onPlayerContact]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[onPlayerStealthKill]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Element_events&diff=23677
Template:Element events
2010-06-11T20:58:50Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[onElementDestroy]]<br />
}}<br />
*[[onElementDataChange]]<br />
*[[onElementColShapeHit]]<br />
*[[onElementColShapeLeave]]<br />
*[[onElementClicked]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[onElementStartSync]]<br />
*[[onElementStopSync]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_functions&diff=23676
Template:Vehicle functions
2010-06-11T20:58:20Z
<p>Awwu: </p>
<hr />
<div>*[[addVehicleUpgrade]]<br />
*[[attachTrailerToVehicle]]<br />
*[[blowVehicle]]<br />
*[[createVehicle]]<br />
*[[detachTrailerFromVehicle]]<br />
*[[fixVehicle]]<br />
*[[getVehicleColor ]]<br />
*[[getVehicleCompatibleUpgrades]]<br />
*[[getVehicleController]]<br />
*[[getVehicleDoorState]]<br />
*[[getVehicleEngineState]]<br />
*[[getVehicleLandingGearDown]]<br />
*[[getVehicleLightState]]<br />
*[[getVehicleMaxPassengers]]<br />
*[[getVehicleName]]<br />
*[[getVehicleOccupant]]<br />
{{New feature|3.0004|1.0.4|<br />
* [[getVehicleOccupants]]<br />
}}<br />
*[[getVehicleOverrideLights]]<br />
*[[getVehiclePaintjob]]<br />
*[[getVehiclePanelState]]<br />
*[[getVehicleRotation]]<br />
*[[getVehicleSirensOn]]<br />
*[[getVehiclesOfType]]<br />
*[[getVehicleTowedByVehicle]]<br />
*[[getVehicleTowingVehicle]]<br />
*[[getVehicleTurnVelocity]]<br />
*[[getVehicleTurretPosition]]<br />
*[[getVehicleType ]]<br />
*[[getVehicleUpgradeOnSlot]]<br />
*[[getVehicleUpgrades]]<br />
*[[getVehicleUpgradeSlotName]]<br />
*[[getVehicleWheelStates]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[isVehicleDamageProof]]<br />
}}<br />
*[[isVehicleFrozen]]<br />
*[[isVehicleFuelTankExplodable]]<br />
*[[isVehicleLocked]]<br />
*[[isVehicleOnGround]]<br />
*[[removeVehicleUpgrade]]<br />
*[[resetVehicleExplosionTime]]<br />
*[[resetVehicleIdleTime]]<br />
*[[respawnVehicle]]<br />
*[[setVehicleColor]]<br />
*[[setVehicleDamageProof]]<br />
*[[setVehicleDirtLevel]]<br />
*[[setVehicleDoorState]]<br />
*[[setVehicleDoorsUndamageable]]<br />
*[[setVehicleEngineState]]<br />
*[[setVehicleFrozen]]<br />
*[[setVehicleFuelTankExplodable]]<br />
*[[setVehicleIdleRespawnDelay]]<br />
*[[setVehicleLandingGearDown]]<br />
*[[setVehicleLightState]]<br />
*[[setVehicleLocked]]<br />
*[[setVehicleOverrideLights]]<br />
*[[setVehiclePaintjob]]<br />
*[[setVehiclePanelState]]<br />
*[[setVehicleRespawnDelay]]<br />
*[[setVehicleRespawnPosition]]<br />
*[[setVehicleRotation]]<br />
*[[setVehicleSirensOn]]<br />
*[[setVehicleTurnVelocity]]<br />
*[[setVehicleWheelStates]]<br />
*[[spawnVehicle]]<br />
*[[toggleVehicleRespawn]]<br />
{{New feature|3|1.0|<br />
*[[getTrainDirection]]<br />
*[[getTrainSpeed]]<br />
*[[getVehicleHeadLightColor]]<br />
*[[getVehicleModelFromName]]<br />
*[[getVehicleNameFromModel]]<br />
*[[getVehicleType]]<br />
*[[isTrainDerailable]]<br />
*[[isTrainDerailed]]<br />
*[[isVehicleBlown]]<br />
*[[isVehicleTaxiLightOn]]<br />
*[[setTrainDerailable]]<br />
*[[setTrainDerailed]]<br />
*[[setTrainDirection]]<br />
*[[setTrainSpeed]]<br />
*[[setVehicleHeadLightColor]]<br />
*[[setVehicleTaxiLightOn]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[getVehicleID]]<br />
*[[getVehicleIDFromName]]<br />
*[[getVehicleNameFromID]]<br />
*[[setVehicleModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Utility_functions&diff=23675
Template:Utility functions
2010-06-11T20:57:41Z
<p>Awwu: </p>
<hr />
<div>*[[getColorFromString]]<br />
*[[getDistanceBetweenPoints2D]]<br />
*[[getDistanceBetweenPoints3D]]<br />
<!--<br />
*[[getPacketInfo]]<br />
--><br />
*[[getRealTime]]<br />
*[[getTickCount]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getTimerDetails]]<br />
}}<br />
*[[getTimers]]<br />
*[[gettok]]<br />
*[[killTimer]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[resetTimer]]<br />
}}<br />
*[[setTimer]]<br />
*[[split]]<br />
*[[isTimer]]<br />
*[[md5]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Player_functions&diff=23674
Template:Player functions
2010-06-11T20:57:09Z
<p>Awwu: </p>
<hr />
<div>* [[canPlayerUseFunction]]<br />
* [[forcePlayerMap]]<br />
* [[getAlivePlayers]]<br />
* [[getDeadPlayers]]<br />
{{Deprecated feature|3.0004|1.0.4|<br />
* [[getPlayerAmmoInClip]]<br />
}}<br />
{{New feature|3.0004|1.0.4|<br />
* [[getPlayerAnnounceValue]]<br />
}}<br />
* [[getPlayerBlurLevel]]<br />
* [[getPlayerCount]]<br />
* [[getPlayerMoney]]<br />
* [[getPlayerNametagColor]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
{{Deprecated feature|3.0004|1.0.4|<br />
* [[getPlayerTotalAmmo]]<br />
}}<br />
{{New feature|3.0004|1.0.4|<br />
* [[getPlayerVersion]]<br />
}}<br />
* [[getPlayerWantedLevel]]<br />
{{Deprecated feature|3.0004|1.0.4|<br />
* [[getPlayerWeapon]]<br />
}}<br />
* [[getRandomPlayer]]<br />
* [[givePlayerMoney]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMuted]]<br />
* [[isPlayerNametagShowing]]<br />
{{New feature|3.0004|1.0.4|<br />
* [[setPlayerAnnounceValue]]<br />
}}<br />
* [[setPlayerBlurLevel]]<br />
* [[setPlayerMoney]]<br />
* [[setPlayerMuted]]<br />
* [[setPlayerNametagColor]]<br />
* [[setPlayerNametagShowing]]<br />
* [[setPlayerNametagText]]<br />
* [[setPlayerTeam]]<br />
* [[setPlayerWantedLevel]]<br />
* [[showPlayerHudComponent]]<br />
* [[spawnPlayer]]<br />
* [[takePlayerMoney]]<br />
* [[getPlayerAccount]]<br />
* [[getPlayerFromName]]<br />
* [[getPlayerIP]]<br />
* [[getPlayerName]]<br />
* [[redirectPlayer]]<br />
* [[setPlayerName]]<br />
{{Deprecated_feature|3|1.0|<br />
* [[addPlayerClothes]]<br />
* [[doesPlayerHaveJetPack]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerClothes]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerFightingStyle]]<br />
* [[getPlayerFromNick]]<br />
* [[getPlayerGravity]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerOccupiedVehicleSeat]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[givePlayerJetPack]]<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDead]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
* [[killPlayer]]<br />
* [[removePlayerClothes]]<br />
* [[removePlayerFromVehicle]]<br />
* [[removePlayerJetPack]]<br />
* [[setPlayerArmor]]<br />
* [[setPlayerChoking]]<br />
* [[setPlayerFightingStyle]]<br />
* [[setPlayerGravity]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerStat]]<br />
* [[setPlayerWeaponSlot]]<br />
* [[warpPlayerIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Ped_functions&diff=23673
Template:Ped functions
2010-06-11T20:56:22Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[addPedClothes]]<br />
*[[createPed]]<br />
*[[doesPedHaveJetPack]]<br />
*[[getPedAnimation]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getPedAmmoInClip]]<br />
}}<br />
*[[getPedArmor]]<br />
*[[getPedClothes]]<br />
*[[getPedContactElement]]<br />
*[[getPedFightingStyle]]<br />
*[[getPedGravity]]<br />
*[[getPedOccupiedVehicle]]<br />
*[[getPedOccupiedVehicleSeat]]<br />
*[[getPedRotation]]<br />
*[[getPedSkin]]<br />
*[[getPedStat]]<br />
*[[getPedTarget]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[getPedTotalAmmo]]<br />
*[[getPedWeapon]]<br />
}}<br />
*[[getPedWeaponSlot]]<br />
*[[givePedJetPack]]<br />
*[[isPedChoking]]<br />
*[[isPedDead]]<br />
*[[isPedDoingGangDriveby]]<br />
*[[isPedDucked]]<br />
*[[isPedFrozen]]<br />
*[[isPedHeadless]]<br />
*[[isPedInVehicle]]<br />
*[[isPedInWater]]<br />
*[[isPedOnFire]]<br />
*[[isPedOnGround]]<br />
*[[killPed]]<br />
*[[reloadPedWeapon]]<br />
*[[removePedClothes]]<br />
*[[removePedFromVehicle]]<br />
*[[removePedJetPack]]<br />
*[[setPedAnimation]]<br />
*[[setPedArmor]]<br />
*[[setPedChoking]]<br />
*[[setPedDoingGangDriveby]]<br />
*[[setPedFightingStyle]]<br />
*[[setPedFrozen]]<br />
*[[setPedGravity]]<br />
*[[setPedHeadless]]<br />
*[[setPedOnFire]]<br />
*[[setPedRotation]]<br />
*[[setPedSkin]]<br />
*[[setPedStat]]<br />
*[[setPedWeaponSlot]]<br />
*[[warpPedIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:File_functions&diff=23672
Template:File functions
2010-06-11T20:55:46Z
<p>Awwu: </p>
<hr />
<div>*[[fileClose]]<br />
*[[fileCreate]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[fileExists]]<br />
}}<br />
*[[fileFlush]]<br />
*[[fileGetPos]]<br />
*[[fileGetSize]]<br />
*[[fileIsEOF]]<br />
*[[fileOpen]]<br />
*[[fileRead]]<br />
*[[fileSetPos]]<br />
*[[fileWrite]]<br />
{{New feature|3|1.0|<br />
*[[fileDelete]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Element_functions&diff=23671
Template:Element functions
2010-06-11T20:55:24Z
<p>Awwu: </p>
<hr />
<div>*[[clearElementVisibleTo]]<br />
*[[cloneElement]]<br />
*[[createElement]]<br />
*[[destroyElement]]<br />
*[[getAllElementData]]<br />
*[[getAttachedElements]]<br />
*[[getElementAlpha]]<br />
*[[getElementAttachedTo]]<br />
*[[getElementByID]]<br />
*[[getElementByIndex]]<br />
*[[getElementChild]]<br />
*[[getElementChildren]]<br />
*[[getElementChildrenCount]]<br />
*[[getElementColShape]]<br />
*[[getElementData]]<br />
*[[getElementDimension]]<br />
*[[getElementHealth]]<br />
*[[getElementID]]<br />
*[[getElementInterior]]<br />
*[[getElementParent]]<br />
*[[getElementPosition]]<br />
*[[getElementsByType]]<br />
*[[getElementsWithinColShape]]<br />
*[[getElementType]]<br />
*[[getElementVelocity]]<br />
*[[getElementZoneName]]<br />
*[[getRootElement]]<br />
*[[isElement]]<br />
*[[isElementAttached]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[isElementDoubleSided]]<br />
}}<br />
*[[isElementVisibleTo]]<br />
*[[isElementWithinColShape]]<br />
*[[removeElementData]]<br />
*[[setElementAlpha]]<br />
*[[setElementData]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[setElementDoubleSided]]<br />
}}<br />
*[[setElementDimension]]<br />
*[[setElementHealth]]<br />
*[[setElementID]]<br />
*[[setElementInterior]]<br />
*[[setElementParent]]<br />
*[[setElementPosition]]<br />
{{New feature|3.0004|1.0.4|<br />
*[[setElementSyncer]]<br />
}}<br />
*[[setElementVelocity]]<br />
*[[setElementVisibleTo]]<br />
{{New feature|3|1.0|<br />
*[[attachElements]]<br />
*[[detachElements]]<br />
*[[getElementModel]]<br />
*[[getElementSyncer]]<br />
*[[isElementInWater]]<br />
*[[setElementAttachedOffsets]]<br />
*[[setElementModel]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[attachElementToElement]]<br />
*[[detachElementFromElement]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Element_events&diff=23625
Template:Element events
2010-06-06T14:13:52Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[onElementDestroy]]<br />
}}<br />
*[[onElementDataChange]]<br />
*[[onElementColShapeHit]]<br />
*[[onElementColShapeLeave]]<br />
*[[onElementClicked]]<br />
{{New feature|4|1.0.4|<br />
*[[onElementStartSync]]<br />
*[[onElementStopSync]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Engine_functions&diff=23624
Template:Engine functions
2010-06-06T14:10:28Z
<p>Awwu: </p>
<hr />
<div>* [[engineImportTXD]]<br />
* [[engineLoadCOL]]<br />
* [[engineLoadDFF]]<br />
* [[engineLoadTXD]]<br />
* [[engineReplaceCOL]]<br />
* [[engineReplaceModel]]<br />
* [[engineRestoreCOL]]<br />
* [[engineRestoreModel]]<br />
{{New feature|4|1.0.4|<br />
* [[engineSetAsynchronousLoading]]<br />
}}<br />
{{New feature|3|1.0|<br />
* [[engineSetModelLODDistance]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
* [[engineImportCOL]]<br />
* [[engineReplaceObjectModel]]<br />
* [[engineReplaceVehicleModel]]<br />
* [[engineUnloadModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=GetProjectileType&diff=23421
GetProjectileType
2010-05-09T19:54:06Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function returns the type of the specified projectile.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
int getProjectileType ( projectile theProjectile )<br />
</syntaxhighlight><br />
<br />
==Required Arguments==<br />
*'''theProjectile:''' The [[Element/Projectile|projectile]] element which type you want to retrieve.<br />
<br />
==Returns==<br />
Returns an [[int]]eger over the type of the projectile or ''false'' if invalid arguments were passed.<br />
{{Projectiles}}<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
function projectileCreation()<br />
local type = getProjectileType(source);<br />
outputChatBox("A projectile was created! Its type: "..type);<br />
end<br />
addEventHandler("onClientProjectileCreation", getRootElement(), projectileCreation)<br />
</syntaxhighlight><br />
<br />
==See also==<br />
{{Client projectile functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_colors&diff=23274
Template:Vehicle colors
2010-05-01T12:28:55Z
<p>Awwu: </p>
<hr />
<div><table cellpadding=0 cellspacing=0 style="border-collapse: collapse; color: white; text-align: center; font-family: tahoma, arial, helvetica; font-size: 10pt;"><br />
<tr><br />
<td style="background: #000000; width:42px; height:42px; border:1px solid black; ">0</td><br />
<td style="background: #F5F5F5; width:42px; height:42px; border:1px solid black; color:black;">1</td><br />
<td style="background: #2A77A1; width:42px; height:42px; border:1px solid black; ">2</td><br />
<td style="background: #840410; width:42px; height:42px; border:1px solid black; ">3</td><br />
<td style="background: #263739; width:42px; height:42px; border:1px solid black; ">4</td><br />
<td style="background: #86446E; width:42px; height:42px; border:1px solid black; ">5</td><br />
<td style="background: #D78E10; width:42px; height:42px; border:1px solid black; ">6</td><br />
<td style="background: #4C75B7; width:42px; height:42px; border:1px solid black; ">7</td><br />
<td style="background: #BDBEC6; width:42px; height:42px; border:1px solid black; ">8</td><br />
<td style="background: #5E7072; width:42px; height:42px; border:1px solid black; ">9</td><br />
<td style="background: #46597A; width:42px; height:42px; border:1px solid black; ">10</td><br />
<td style="background: #656A79; width:42px; height:42px; border:1px solid black; ">11</td><br />
<td style="background: #5D7E8D; width:42px; height:42px; border:1px solid black; ">12</td><br />
<td style="background: #58595A; width:42px; height:42px; border:1px solid black; ">13</td><br />
<td style="background: #D6DAD6; width:42px; height:42px; border:1px solid black; ">14</td><br />
<td style="background: #9CA1A3; width:42px; height:42px; border:1px solid black; ">15</td><br />
<td style="background: #335F3F; width:42px; height:42px; border:1px solid black; ">16</td><br />
<td style="background: #730E1A; width:42px; height:42px; border:1px solid black; ">17</td><br />
<td style="background: #7B0A2A; width:42px; height:42px; border:1px solid black; ">18</td><br />
<td style="background: #9F9D94; width:42px; height:42px; border:1px solid black; ">19</td><br />
</tr><br />
<tr><br />
<td style="background: #3B4E78; width:42px; height:42px; border:1px solid black; ">20</td><br />
<td style="background: #732E3E; width:42px; height:42px; border:1px solid black; ">21</td><br />
<td style="background: #691E3B; width:42px; height:42px; border:1px solid black; ">22</td><br />
<td style="background: #96918C; width:42px; height:42px; border:1px solid black; ">23</td><br />
<td style="background: #515459; width:42px; height:42px; border:1px solid black; ">24</td><br />
<td style="background: #3F3E45; width:42px; height:42px; border:1px solid black; ">25</td><br />
<td style="background: #A5A9A7; width:42px; height:42px; border:1px solid black; ">26</td><br />
<td style="background: #635C5A; width:42px; height:42px; border:1px solid black; ">27</td><br />
<td style="background: #3D4A68; width:42px; height:42px; border:1px solid black; ">28</td><br />
<td style="background: #979592; width:42px; height:42px; border:1px solid black; ">29</td><br />
<td style="background: #421F21; width:42px; height:42px; border:1px solid black; ">30</td><br />
<td style="background: #5F272B; width:42px; height:42px; border:1px solid black; ">31</td><br />
<td style="background: #8494AB; width:42px; height:42px; border:1px solid black; ">32</td><br />
<td style="background: #767B7C; width:42px; height:42px; border:1px solid black; ">33</td><br />
<td style="background: #646464; width:42px; height:42px; border:1px solid black; ">34</td><br />
<td style="background: #5A5752; width:42px; height:42px; border:1px solid black; ">35</td><br />
<td style="background: #252527; width:42px; height:42px; border:1px solid black; ">36</td><br />
<td style="background: #2D3A35; width:42px; height:42px; border:1px solid black; ">37</td><br />
<td style="background: #93A396; width:42px; height:42px; border:1px solid black; ">38</td><br />
<td style="background: #6D7A88; width:42px; height:42px; border:1px solid black; ">39</td><br />
</tr><br />
<tr><br />
<td style="background: #221918; width:42px; height:42px; border:1px solid black; ">40</td><br />
<td style="background: #6F675F; width:42px; height:42px; border:1px solid black; ">41</td><br />
<td style="background: #7C1C2A; width:42px; height:42px; border:1px solid black; ">42</td><br />
<td style="background: #5F0A15; width:42px; height:42px; border:1px solid black; ">43</td><br />
<td style="background: #193826; width:42px; height:42px; border:1px solid black; ">44</td><br />
<td style="background: #5D1B20; width:42px; height:42px; border:1px solid black; ">45</td><br />
<td style="background: #9D9872; width:42px; height:42px; border:1px solid black; ">46</td><br />
<td style="background: #7A7560; width:42px; height:42px; border:1px solid black; ">47</td><br />
<td style="background: #989586; width:42px; height:42px; border:1px solid black; ">48</td><br />
<td style="background: #ADB0B0; width:42px; height:42px; border:1px solid black; ">49</td><br />
<td style="background: #848988; width:42px; height:42px; border:1px solid black; ">50</td><br />
<td style="background: #304F45; width:42px; height:42px; border:1px solid black; ">51</td><br />
<td style="background: #4D6268; width:42px; height:42px; border:1px solid black; ">52</td><br />
<td style="background: #162248; width:42px; height:42px; border:1px solid black; ">53</td><br />
<td style="background: #272F4B; width:42px; height:42px; border:1px solid black; ">54</td><br />
<td style="background: #7D6256; width:42px; height:42px; border:1px solid black; ">55</td><br />
<td style="background: #9EA4AB; width:42px; height:42px; border:1px solid black; ">56</td><br />
<td style="background: #9C8D71; width:42px; height:42px; border:1px solid black; ">57</td><br />
<td style="background: #6D1822; width:42px; height:42px; border:1px solid black; ">58</td><br />
<td style="background: #4E6881; width:42px; height:42px; border:1px solid black; ">59</td><br />
</tr><br />
<tr><br />
<td style="background: #9C9C98; width:42px; height:42px; border:1px solid black; ">60</td><br />
<td style="background: #917347; width:42px; height:42px; border:1px solid black; ">61</td><br />
<td style="background: #661C26; width:42px; height:42px; border:1px solid black; ">62</td><br />
<td style="background: #949D9F; width:42px; height:42px; border:1px solid black; ">63</td><br />
<td style="background: #A4A7A5; width:42px; height:42px; border:1px solid black; ">64</td><br />
<td style="background: #8E8C46; width:42px; height:42px; border:1px solid black; ">65</td><br />
<td style="background: #341A1E; width:42px; height:42px; border:1px solid black; ">66</td><br />
<td style="background: #6A7A8C; width:42px; height:42px; border:1px solid black; ">67</td><br />
<td style="background: #AAAD8E; width:42px; height:42px; border:1px solid black; ">68</td><br />
<td style="background: #AB988F; width:42px; height:42px; border:1px solid black; ">69</td><br />
<td style="background: #851F2E; width:42px; height:42px; border:1px solid black; ">70</td><br />
<td style="background: #6F8297; width:42px; height:42px; border:1px solid black; ">71</td><br />
<td style="background: #585853; width:42px; height:42px; border:1px solid black; ">72</td><br />
<td style="background: #9AA790; width:42px; height:42px; border:1px solid black; ">73</td><br />
<td style="background: #601A23; width:42px; height:42px; border:1px solid black; ">74</td><br />
<td style="background: #20202C; width:42px; height:42px; border:1px solid black; ">75</td><br />
<td style="background: #A4A096; width:42px; height:42px; border:1px solid black; ">76</td><br />
<td style="background: #AA9D84; width:42px; height:42px; border:1px solid black; ">77</td><br />
<td style="background: #78222B; width:42px; height:42px; border:1px solid black; ">78</td><br />
<td style="background: #0E316D; width:42px; height:42px; border:1px solid black; ">79</td><br />
</tr><br />
<tr><br />
<td style="background: #722A3F; width:42px; height:42px; border:1px solid black; ">80</td><br />
<td style="background: #7B715E; width:42px; height:42px; border:1px solid black; ">81</td><br />
<td style="background: #741D28; width:42px; height:42px; border:1px solid black; ">82</td><br />
<td style="background: #1E2E32; width:42px; height:42px; border:1px solid black; ">83</td><br />
<td style="background: #4D322F; width:42px; height:42px; border:1px solid black; ">84</td><br />
<td style="background: #7C1B44; width:42px; height:42px; border:1px solid black; ">85</td><br />
<td style="background: #2E5B20; width:42px; height:42px; border:1px solid black; ">86</td><br />
<td style="background: #395A83; width:42px; height:42px; border:1px solid black; ">87</td><br />
<td style="background: #6D2837; width:42px; height:42px; border:1px solid black; ">88</td><br />
<td style="background: #A7A28F; width:42px; height:42px; border:1px solid black; ">89</td><br />
<td style="background: #AFB1B1; width:42px; height:42px; border:1px solid black; ">90</td><br />
<td style="background: #364155; width:42px; height:42px; border:1px solid black; ">91</td><br />
<td style="background: #6D6C6E; width:42px; height:42px; border:1px solid black; ">92</td><br />
<td style="background: #0F6A89; width:42px; height:42px; border:1px solid black; ">93</td><br />
<td style="background: #204B6B; width:42px; height:42px; border:1px solid black; ">94</td><br />
<td style="background: #2B3E57; width:42px; height:42px; border:1px solid black; ">95</td><br />
<td style="background: #9B9F9D; width:42px; height:42px; border:1px solid black; ">96</td><br />
<td style="background: #6C8495; width:42px; height:42px; border:1px solid black; ">97</td><br />
<td style="background: #4D5D60; width:42px; height:42px; border:1px solid black; ">98</td><br />
<td style="background: #AE9B7F; width:42px; height:42px; border:1px solid black; ">99</td><br />
</tr><br />
<tr><br />
<td style="background: #406C8F; width:42px; height:42px; border:1px solid black; ">100</td><br />
<td style="background: #1F253B; width:42px; height:42px; border:1px solid black; ">101</td><br />
<td style="background: #AB9276; width:42px; height:42px; border:1px solid black; ">102</td><br />
<td style="background: #134573; width:42px; height:42px; border:1px solid black; ">103</td><br />
<td style="background: #96816C; width:42px; height:42px; border:1px solid black; ">104</td><br />
<td style="background: #64686A; width:42px; height:42px; border:1px solid black; ">105</td><br />
<td style="background: #105082; width:42px; height:42px; border:1px solid black; ">106</td><br />
<td style="background: #A19983; width:42px; height:42px; border:1px solid black; ">107</td><br />
<td style="background: #385694; width:42px; height:42px; border:1px solid black; ">108</td><br />
<td style="background: #525661; width:42px; height:42px; border:1px solid black; ">109</td><br />
<td style="background: #7F6956; width:42px; height:42px; border:1px solid black; ">110</td><br />
<td style="background: #8C929A; width:42px; height:42px; border:1px solid black; ">111</td><br />
<td style="background: #596E87; width:42px; height:42px; border:1px solid black; ">112</td><br />
<td style="background: #473532; width:42px; height:42px; border:1px solid black; ">113</td><br />
<td style="background: #44624F; width:42px; height:42px; border:1px solid black; ">114</td><br />
<td style="background: #730A27; width:42px; height:42px; border:1px solid black; ">115</td><br />
<td style="background: #223457; width:42px; height:42px; border:1px solid black; ">116</td><br />
<td style="background: #640D1B; width:42px; height:42px; border:1px solid black; ">117</td><br />
<td style="background: #A3ADC6; width:42px; height:42px; border:1px solid black; ">118</td><br />
<td style="background: #695853; width:42px; height:42px; border:1px solid black; ">119</td><br />
</tr><br />
<tr><br />
<td style="background: #9B8B80; width:42px; height:42px; border:1px solid black; ">120</td><br />
<td style="background: #620B1C; width:42px; height:42px; border:1px solid black; ">121</td><br />
<td style="background: #5B5D5E; width:42px; height:42px; border:1px solid black; ">122</td><br />
<td style="background: #624428; width:42px; height:42px; border:1px solid black; ">123</td><br />
<td style="background: #731827; width:42px; height:42px; border:1px solid black; ">124</td><br />
<td style="background: #1B376D; width:42px; height:42px; border:1px solid black; ">125</td><br />
<td style="background: #EC6AAE; width:42px; height:42px; border:1px solid black; ">126</td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
</tr><br />
</table></div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_colors&diff=23273
Template:Vehicle colors
2010-05-01T12:28:39Z
<p>Awwu: </p>
<hr />
<div>{{Needs_Checking|Color 81 is wrong}}<br />
<table cellpadding=0 cellspacing=0 style="border-collapse: collapse; color: white; text-align: center; font-family: tahoma, arial, helvetica; font-size: 10pt;"><br />
<tr><br />
<td style="background: #000000; width:42px; height:42px; border:1px solid black; ">0</td><br />
<td style="background: #F5F5F5; width:42px; height:42px; border:1px solid black; color:black;">1</td><br />
<td style="background: #2A77A1; width:42px; height:42px; border:1px solid black; ">2</td><br />
<td style="background: #840410; width:42px; height:42px; border:1px solid black; ">3</td><br />
<td style="background: #263739; width:42px; height:42px; border:1px solid black; ">4</td><br />
<td style="background: #86446E; width:42px; height:42px; border:1px solid black; ">5</td><br />
<td style="background: #D78E10; width:42px; height:42px; border:1px solid black; ">6</td><br />
<td style="background: #4C75B7; width:42px; height:42px; border:1px solid black; ">7</td><br />
<td style="background: #BDBEC6; width:42px; height:42px; border:1px solid black; ">8</td><br />
<td style="background: #5E7072; width:42px; height:42px; border:1px solid black; ">9</td><br />
<td style="background: #46597A; width:42px; height:42px; border:1px solid black; ">10</td><br />
<td style="background: #656A79; width:42px; height:42px; border:1px solid black; ">11</td><br />
<td style="background: #5D7E8D; width:42px; height:42px; border:1px solid black; ">12</td><br />
<td style="background: #58595A; width:42px; height:42px; border:1px solid black; ">13</td><br />
<td style="background: #D6DAD6; width:42px; height:42px; border:1px solid black; ">14</td><br />
<td style="background: #9CA1A3; width:42px; height:42px; border:1px solid black; ">15</td><br />
<td style="background: #335F3F; width:42px; height:42px; border:1px solid black; ">16</td><br />
<td style="background: #730E1A; width:42px; height:42px; border:1px solid black; ">17</td><br />
<td style="background: #7B0A2A; width:42px; height:42px; border:1px solid black; ">18</td><br />
<td style="background: #9F9D94; width:42px; height:42px; border:1px solid black; ">19</td><br />
</tr><br />
<tr><br />
<td style="background: #3B4E78; width:42px; height:42px; border:1px solid black; ">20</td><br />
<td style="background: #732E3E; width:42px; height:42px; border:1px solid black; ">21</td><br />
<td style="background: #691E3B; width:42px; height:42px; border:1px solid black; ">22</td><br />
<td style="background: #96918C; width:42px; height:42px; border:1px solid black; ">23</td><br />
<td style="background: #515459; width:42px; height:42px; border:1px solid black; ">24</td><br />
<td style="background: #3F3E45; width:42px; height:42px; border:1px solid black; ">25</td><br />
<td style="background: #A5A9A7; width:42px; height:42px; border:1px solid black; ">26</td><br />
<td style="background: #635C5A; width:42px; height:42px; border:1px solid black; ">27</td><br />
<td style="background: #3D4A68; width:42px; height:42px; border:1px solid black; ">28</td><br />
<td style="background: #979592; width:42px; height:42px; border:1px solid black; ">29</td><br />
<td style="background: #421F21; width:42px; height:42px; border:1px solid black; ">30</td><br />
<td style="background: #5F272B; width:42px; height:42px; border:1px solid black; ">31</td><br />
<td style="background: #8494AB; width:42px; height:42px; border:1px solid black; ">32</td><br />
<td style="background: #767B7C; width:42px; height:42px; border:1px solid black; ">33</td><br />
<td style="background: #646464; width:42px; height:42px; border:1px solid black; ">34</td><br />
<td style="background: #5A5752; width:42px; height:42px; border:1px solid black; ">35</td><br />
<td style="background: #252527; width:42px; height:42px; border:1px solid black; ">36</td><br />
<td style="background: #2D3A35; width:42px; height:42px; border:1px solid black; ">37</td><br />
<td style="background: #93A396; width:42px; height:42px; border:1px solid black; ">38</td><br />
<td style="background: #6D7A88; width:42px; height:42px; border:1px solid black; ">39</td><br />
</tr><br />
<tr><br />
<td style="background: #221918; width:42px; height:42px; border:1px solid black; ">40</td><br />
<td style="background: #6F675F; width:42px; height:42px; border:1px solid black; ">41</td><br />
<td style="background: #7C1C2A; width:42px; height:42px; border:1px solid black; ">42</td><br />
<td style="background: #5F0A15; width:42px; height:42px; border:1px solid black; ">43</td><br />
<td style="background: #193826; width:42px; height:42px; border:1px solid black; ">44</td><br />
<td style="background: #5D1B20; width:42px; height:42px; border:1px solid black; ">45</td><br />
<td style="background: #9D9872; width:42px; height:42px; border:1px solid black; ">46</td><br />
<td style="background: #7A7560; width:42px; height:42px; border:1px solid black; ">47</td><br />
<td style="background: #989586; width:42px; height:42px; border:1px solid black; ">48</td><br />
<td style="background: #ADB0B0; width:42px; height:42px; border:1px solid black; ">49</td><br />
<td style="background: #848988; width:42px; height:42px; border:1px solid black; ">50</td><br />
<td style="background: #304F45; width:42px; height:42px; border:1px solid black; ">51</td><br />
<td style="background: #4D6268; width:42px; height:42px; border:1px solid black; ">52</td><br />
<td style="background: #162248; width:42px; height:42px; border:1px solid black; ">53</td><br />
<td style="background: #272F4B; width:42px; height:42px; border:1px solid black; ">54</td><br />
<td style="background: #7D6256; width:42px; height:42px; border:1px solid black; ">55</td><br />
<td style="background: #9EA4AB; width:42px; height:42px; border:1px solid black; ">56</td><br />
<td style="background: #9C8D71; width:42px; height:42px; border:1px solid black; ">57</td><br />
<td style="background: #6D1822; width:42px; height:42px; border:1px solid black; ">58</td><br />
<td style="background: #4E6881; width:42px; height:42px; border:1px solid black; ">59</td><br />
</tr><br />
<tr><br />
<td style="background: #9C9C98; width:42px; height:42px; border:1px solid black; ">60</td><br />
<td style="background: #917347; width:42px; height:42px; border:1px solid black; ">61</td><br />
<td style="background: #661C26; width:42px; height:42px; border:1px solid black; ">62</td><br />
<td style="background: #949D9F; width:42px; height:42px; border:1px solid black; ">63</td><br />
<td style="background: #A4A7A5; width:42px; height:42px; border:1px solid black; ">64</td><br />
<td style="background: #8E8C46; width:42px; height:42px; border:1px solid black; ">65</td><br />
<td style="background: #341A1E; width:42px; height:42px; border:1px solid black; ">66</td><br />
<td style="background: #6A7A8C; width:42px; height:42px; border:1px solid black; ">67</td><br />
<td style="background: #AAAD8E; width:42px; height:42px; border:1px solid black; ">68</td><br />
<td style="background: #AB988F; width:42px; height:42px; border:1px solid black; ">69</td><br />
<td style="background: #851F2E; width:42px; height:42px; border:1px solid black; ">70</td><br />
<td style="background: #6F8297; width:42px; height:42px; border:1px solid black; ">71</td><br />
<td style="background: #585853; width:42px; height:42px; border:1px solid black; ">72</td><br />
<td style="background: #9AA790; width:42px; height:42px; border:1px solid black; ">73</td><br />
<td style="background: #601A23; width:42px; height:42px; border:1px solid black; ">74</td><br />
<td style="background: #20202C; width:42px; height:42px; border:1px solid black; ">75</td><br />
<td style="background: #A4A096; width:42px; height:42px; border:1px solid black; ">76</td><br />
<td style="background: #AA9D84; width:42px; height:42px; border:1px solid black; ">77</td><br />
<td style="background: #78222B; width:42px; height:42px; border:1px solid black; ">78</td><br />
<td style="background: #0E316D; width:42px; height:42px; border:1px solid black; ">79</td><br />
</tr><br />
<tr><br />
<td style="background: #722A3F; width:42px; height:42px; border:1px solid black; ">80</td><br />
<td style="background: #7B715E; width:42px; height:42px; border:1px solid black; ">81</td><br />
<td style="background: #741D28; width:42px; height:42px; border:1px solid black; ">82</td><br />
<td style="background: #1E2E32; width:42px; height:42px; border:1px solid black; ">83</td><br />
<td style="background: #4D322F; width:42px; height:42px; border:1px solid black; ">84</td><br />
<td style="background: #7C1B44; width:42px; height:42px; border:1px solid black; ">85</td><br />
<td style="background: #2E5B20; width:42px; height:42px; border:1px solid black; ">86</td><br />
<td style="background: #395A83; width:42px; height:42px; border:1px solid black; ">87</td><br />
<td style="background: #6D2837; width:42px; height:42px; border:1px solid black; ">88</td><br />
<td style="background: #A7A28F; width:42px; height:42px; border:1px solid black; ">89</td><br />
<td style="background: #AFB1B1; width:42px; height:42px; border:1px solid black; ">90</td><br />
<td style="background: #364155; width:42px; height:42px; border:1px solid black; ">91</td><br />
<td style="background: #6D6C6E; width:42px; height:42px; border:1px solid black; ">92</td><br />
<td style="background: #0F6A89; width:42px; height:42px; border:1px solid black; ">93</td><br />
<td style="background: #204B6B; width:42px; height:42px; border:1px solid black; ">94</td><br />
<td style="background: #2B3E57; width:42px; height:42px; border:1px solid black; ">95</td><br />
<td style="background: #9B9F9D; width:42px; height:42px; border:1px solid black; ">96</td><br />
<td style="background: #6C8495; width:42px; height:42px; border:1px solid black; ">97</td><br />
<td style="background: #4D5D60; width:42px; height:42px; border:1px solid black; ">98</td><br />
<td style="background: #AE9B7F; width:42px; height:42px; border:1px solid black; ">99</td><br />
</tr><br />
<tr><br />
<td style="background: #406C8F; width:42px; height:42px; border:1px solid black; ">100</td><br />
<td style="background: #1F253B; width:42px; height:42px; border:1px solid black; ">101</td><br />
<td style="background: #AB9276; width:42px; height:42px; border:1px solid black; ">102</td><br />
<td style="background: #134573; width:42px; height:42px; border:1px solid black; ">103</td><br />
<td style="background: #96816C; width:42px; height:42px; border:1px solid black; ">104</td><br />
<td style="background: #64686A; width:42px; height:42px; border:1px solid black; ">105</td><br />
<td style="background: #105082; width:42px; height:42px; border:1px solid black; ">106</td><br />
<td style="background: #A19983; width:42px; height:42px; border:1px solid black; ">107</td><br />
<td style="background: #385694; width:42px; height:42px; border:1px solid black; ">108</td><br />
<td style="background: #525661; width:42px; height:42px; border:1px solid black; ">109</td><br />
<td style="background: #7F6956; width:42px; height:42px; border:1px solid black; ">110</td><br />
<td style="background: #8C929A; width:42px; height:42px; border:1px solid black; ">111</td><br />
<td style="background: #596E87; width:42px; height:42px; border:1px solid black; ">112</td><br />
<td style="background: #473532; width:42px; height:42px; border:1px solid black; ">113</td><br />
<td style="background: #44624F; width:42px; height:42px; border:1px solid black; ">114</td><br />
<td style="background: #730A27; width:42px; height:42px; border:1px solid black; ">115</td><br />
<td style="background: #223457; width:42px; height:42px; border:1px solid black; ">116</td><br />
<td style="background: #640D1B; width:42px; height:42px; border:1px solid black; ">117</td><br />
<td style="background: #A3ADC6; width:42px; height:42px; border:1px solid black; ">118</td><br />
<td style="background: #695853; width:42px; height:42px; border:1px solid black; ">119</td><br />
</tr><br />
<tr><br />
<td style="background: #9B8B80; width:42px; height:42px; border:1px solid black; ">120</td><br />
<td style="background: #620B1C; width:42px; height:42px; border:1px solid black; ">121</td><br />
<td style="background: #5B5D5E; width:42px; height:42px; border:1px solid black; ">122</td><br />
<td style="background: #624428; width:42px; height:42px; border:1px solid black; ">123</td><br />
<td style="background: #731827; width:42px; height:42px; border:1px solid black; ">124</td><br />
<td style="background: #1B376D; width:42px; height:42px; border:1px solid black; ">125</td><br />
<td style="background: #EC6AAE; width:42px; height:42px; border:1px solid black; ">126</td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
<td style="background: #FFFFFF; width:42px; height:42px; border:0px solid black;"></td><br />
</tr><br />
</table></div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Ped_functions&diff=23243
Template:Ped functions
2010-04-30T17:46:48Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[addPedClothes]]<br />
*[[createPed]]<br />
*[[doesPedHaveJetPack]]<br />
*[[getPedAnimation]]<br />
{{New feature|4|1.0.4|<br />
*[[getPedAmmoInClip]]<br />
}}<br />
*[[getPedArmor]]<br />
*[[getPedClothes]]<br />
*[[getPedContactElement]]<br />
*[[getPedFightingStyle]]<br />
*[[getPedGravity]]<br />
*[[getPedOccupiedVehicle]]<br />
*[[getPedOccupiedVehicleSeat]]<br />
*[[getPedRotation]]<br />
*[[getPedSkin]]<br />
*[[getPedStat]]<br />
*[[getPedTarget]]<br />
{{New feature|4|1.0.4|<br />
*[[getPedTotalAmmo]]<br />
*[[getPedWeapon]]<br />
}}<br />
*[[getPedWeaponSlot]]<br />
*[[givePedJetPack]]<br />
*[[isPedChoking]]<br />
*[[isPedDead]]<br />
*[[isPedDoingGangDriveby]]<br />
*[[isPedDucked]]<br />
*[[isPedFrozen]]<br />
*[[isPedHeadless]]<br />
*[[isPedInVehicle]]<br />
*[[isPedInWater]]<br />
*[[isPedOnFire]]<br />
*[[isPedOnGround]]<br />
*[[killPed]]<br />
*[[reloadPedWeapon]]<br />
*[[removePedClothes]]<br />
*[[removePedFromVehicle]]<br />
*[[removePedJetPack]]<br />
*[[setPedAnimation]]<br />
*[[setPedArmor]]<br />
*[[setPedChoking]]<br />
*[[setPedDoingGangDriveby]]<br />
*[[setPedFightingStyle]]<br />
*[[setPedFrozen]]<br />
*[[setPedGravity]]<br />
*[[setPedHeadless]]<br />
*[[setPedOnFire]]<br />
*[[setPedRotation]]<br />
*[[setPedSkin]]<br />
*[[setPedStat]]<br />
*[[setPedWeaponSlot]]<br />
*[[warpPedIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Player_functions&diff=23242
Template:Player functions
2010-04-30T17:45:56Z
<p>Awwu: </p>
<hr />
<div>* [[canPlayerUseFunction]]<br />
* [[forcePlayerMap]]<br />
* [[getAlivePlayers]]<br />
* [[getDeadPlayers]]<br />
{{Deprecated feature|4|1.0.4|<br />
* [[getPlayerAmmoInClip]]<br />
}}<br />
{{New feature|4|1.0.4|<br />
* [[getPlayerAnnounceValue]]<br />
}}<br />
* [[getPlayerBlurLevel]]<br />
* [[getPlayerCount]]<br />
* [[getPlayerMoney]]<br />
* [[getPlayerNametagColor]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
{{Deprecated feature|4|1.0.4|<br />
* [[getPlayerTotalAmmo]]<br />
}}<br />
* [[getPlayerWantedLevel]]<br />
{{Deprecated feature|4|1.0.4|<br />
* [[getPlayerWeapon]]<br />
}}<br />
* [[getRandomPlayer]]<br />
* [[givePlayerMoney]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMuted]]<br />
* [[isPlayerNametagShowing]]<br />
{{New feature|4|1.0.4|<br />
* [[setPlayerAnnounceValue]]<br />
}}<br />
* [[setPlayerBlurLevel]]<br />
* [[setPlayerMoney]]<br />
* [[setPlayerMuted]]<br />
* [[setPlayerNametagColor]]<br />
* [[setPlayerNametagShowing]]<br />
* [[setPlayerNametagText]]<br />
* [[setPlayerTeam]]<br />
* [[setPlayerWantedLevel]]<br />
* [[showPlayerHudComponent]]<br />
* [[spawnPlayer]]<br />
* [[takePlayerMoney]]<br />
* [[getPlayerAccount]]<br />
* [[getPlayerFromName]]<br />
* [[getPlayerIP]]<br />
* [[getPlayerName]]<br />
* [[redirectPlayer]]<br />
* [[setPlayerName]]<br />
{{Deprecated_feature|3|1.0|<br />
* [[addPlayerClothes]]<br />
* [[doesPlayerHaveJetPack]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerClothes]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerFightingStyle]]<br />
* [[getPlayerFromNick]]<br />
* [[getPlayerGravity]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerOccupiedVehicleSeat]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[givePlayerJetPack]]<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDead]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
* [[killPlayer]]<br />
* [[removePlayerClothes]]<br />
* [[removePlayerFromVehicle]]<br />
* [[removePlayerJetPack]]<br />
* [[setPlayerArmor]]<br />
* [[setPlayerChoking]]<br />
* [[setPlayerFightingStyle]]<br />
* [[setPlayerGravity]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerStat]]<br />
* [[setPlayerWeaponSlot]]<br />
* [[warpPlayerIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Player_functions&diff=23241
Template:Player functions
2010-04-30T17:44:21Z
<p>Awwu: </p>
<hr />
<div>* [[canPlayerUseFunction]]<br />
* [[forcePlayerMap]]<br />
* [[getAlivePlayers]]<br />
* [[getDeadPlayers]]<br />
{{Deprecated feature|4|1.0.4|<br />
* [[getPlayerAmmoInClip]]<br />
}}<br />
{{New feature|4|1.0.4|<br />
* [[getPlayerAnnounceValue]]<br />
}}<br />
* [[getPlayerBlurLevel]]<br />
* [[getPlayerCount]]<br />
* [[getPlayerMoney]]<br />
* [[getPlayerNametagColor]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
{{Deprecated feature|4|1.0.4|<br />
* [[getPlayerTotalAmmo]]<br />
}}<br />
* [[getPlayerWantedLevel]]<br />
* [[getPlayerWeapon]]<br />
* [[getRandomPlayer]]<br />
* [[givePlayerMoney]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMuted]]<br />
* [[isPlayerNametagShowing]]<br />
{{New feature|4|1.0.4|<br />
* [[setPlayerAnnounceValue]]<br />
}}<br />
* [[setPlayerBlurLevel]]<br />
* [[setPlayerMoney]]<br />
* [[setPlayerMuted]]<br />
* [[setPlayerNametagColor]]<br />
* [[setPlayerNametagShowing]]<br />
* [[setPlayerNametagText]]<br />
* [[setPlayerTeam]]<br />
* [[setPlayerWantedLevel]]<br />
* [[showPlayerHudComponent]]<br />
* [[spawnPlayer]]<br />
* [[takePlayerMoney]]<br />
* [[getPlayerAccount]]<br />
* [[getPlayerFromName]]<br />
* [[getPlayerIP]]<br />
* [[getPlayerName]]<br />
* [[redirectPlayer]]<br />
* [[setPlayerName]]<br />
{{Deprecated_feature|3|1.0|<br />
* [[addPlayerClothes]]<br />
* [[doesPlayerHaveJetPack]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerClothes]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerFightingStyle]]<br />
* [[getPlayerFromNick]]<br />
* [[getPlayerGravity]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerOccupiedVehicleSeat]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[givePlayerJetPack]]<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDead]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
* [[killPlayer]]<br />
* [[removePlayerClothes]]<br />
* [[removePlayerFromVehicle]]<br />
* [[removePlayerJetPack]]<br />
* [[setPlayerArmor]]<br />
* [[setPlayerChoking]]<br />
* [[setPlayerFightingStyle]]<br />
* [[setPlayerGravity]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerStat]]<br />
* [[setPlayerWeaponSlot]]<br />
* [[warpPlayerIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Ped_functions&diff=23240
Template:Ped functions
2010-04-30T17:43:10Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[addPedClothes]]<br />
*[[createPed]]<br />
*[[doesPedHaveJetPack]]<br />
*[[getPedAnimation]]<br />
{{New feature|4|1.0.4|<br />
*[[getPedAmmoInClip]]<br />
}}<br />
*[[getPedArmor]]<br />
*[[getPedClothes]]<br />
*[[getPedContactElement]]<br />
*[[getPedFightingStyle]]<br />
*[[getPedGravity]]<br />
*[[getPedOccupiedVehicle]]<br />
*[[getPedOccupiedVehicleSeat]]<br />
*[[getPedRotation]]<br />
*[[getPedSkin]]<br />
*[[getPedStat]]<br />
*[[getPedTarget]]<br />
{{New feature|4|1.0.4|<br />
*[[getPedTotalAmmo]]<br />
}}<br />
*[[getPedWeaponSlot]]<br />
*[[givePedJetPack]]<br />
*[[isPedChoking]]<br />
*[[isPedDead]]<br />
*[[isPedDoingGangDriveby]]<br />
*[[isPedDucked]]<br />
*[[isPedFrozen]]<br />
*[[isPedHeadless]]<br />
*[[isPedInVehicle]]<br />
*[[isPedInWater]]<br />
*[[isPedOnFire]]<br />
*[[isPedOnGround]]<br />
*[[killPed]]<br />
*[[reloadPedWeapon]]<br />
*[[removePedClothes]]<br />
*[[removePedFromVehicle]]<br />
*[[removePedJetPack]]<br />
*[[setPedAnimation]]<br />
*[[setPedArmor]]<br />
*[[setPedChoking]]<br />
*[[setPedDoingGangDriveby]]<br />
*[[setPedFightingStyle]]<br />
*[[setPedFrozen]]<br />
*[[setPedGravity]]<br />
*[[setPedHeadless]]<br />
*[[setPedOnFire]]<br />
*[[setPedRotation]]<br />
*[[setPedSkin]]<br />
*[[setPedStat]]<br />
*[[setPedWeaponSlot]]<br />
*[[warpPedIntoVehicle]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_input_functions&diff=23239
Template:Client input functions
2010-04-30T17:39:07Z
<p>Awwu: </p>
<hr />
<div>*[[bindKey]]<br />
*[[unbindKey]]<br />
*[[getKeyState]]<br />
{{New_feature|4|1.0.4|<br />
*[[getCommandsBoundToKey]]<br />
*[[getFunctionsBoundToKey]]<br />
*[[getKeyBoundToCommand]]<br />
*[[getKeyBoundToFunction]]<br />
}}<br />
*[[getControlState]]<br />
*[[isControlEnabled]]<br />
*[[setControlState]]<br />
*[[toggleControl]]<br />
*[[toggleAllControls]]<br />
*[[getCursorPosition]]<br />
*[[addCommandHandler]]<br />
*[[removeCommandHandler]]<br />
*[[executeCommandHandler]]<br />
*[[getBoundKeys]]<br />
*[[getAnalogControlState]]<br />
*[[setCursorPosition]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=IsVehicleDamageProof&diff=23238
IsVehicleDamageProof
2010-04-30T17:35:34Z
<p>Awwu: </p>
<hr />
<div>{{Server client function}}<br />
__NOTOC__<br />
This function checks if a vehicle is damage proof (set with [[setVehicleDamageProof]]).<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isVehicleDamageProof ( vehicle theVehicle )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theVehicle:''' the vehicle whose invincibility status we want to check.<br />
<br />
===Returns===<br />
Returns ''true'' if the vehicle is damage proof, ''false'' if it isn't or if invalid arguments were passed.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
-- TODO<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Vehicle_functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=IsVehicleDamageProof&diff=23237
IsVehicleDamageProof
2010-04-30T17:35:12Z
<p>Awwu: Created page with '{{Server client function}} __NOTOC__ This function checks if a vehicle is damage proof (set with setVehicleDamageProof). ==Syntax== <syntaxhighlight lang="lua"> bool isVehicleDamageProof …'</p>
<hr />
<div>{{Server client function}}<br />
__NOTOC__<br />
This function checks if a vehicle is damage proof (set with [[setVehicleDamageProof]]).<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isVehicleDamageProof ( vehicle theVehicle )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theVehicle:''' the vehicle whose invincibility status we want to check.<br />
<br />
===Returns===<br />
*Returns ''true'' if the vehicle is damage proof, ''false'' if it isn't or if invalid arguments were passed.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
-- TODO<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Vehicle_functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Vehicle_functions&diff=23236
Template:Vehicle functions
2010-04-30T17:32:44Z
<p>Awwu: </p>
<hr />
<div>*[[addVehicleUpgrade]]<br />
*[[attachTrailerToVehicle]]<br />
*[[blowVehicle]]<br />
*[[createVehicle]]<br />
*[[detachTrailerFromVehicle]]<br />
*[[fixVehicle]]<br />
*[[getVehicleColor ]]<br />
*[[getVehicleCompatibleUpgrades]]<br />
*[[getVehicleController]]<br />
*[[getVehicleDoorState]]<br />
*[[getVehicleEngineState]]<br />
*[[getVehicleLandingGearDown]]<br />
*[[getVehicleLightState]]<br />
*[[getVehicleMaxPassengers]]<br />
*[[getVehicleName]]<br />
*[[getVehicleOccupant]]<br />
{{New feature|4|1.0.4|<br />
* [[getVehicleOccupants]]<br />
}}<br />
*[[getVehicleOverrideLights]]<br />
*[[getVehiclePaintjob]]<br />
*[[getVehiclePanelState]]<br />
*[[getVehicleRotation]]<br />
*[[getVehicleSirensOn]]<br />
*[[getVehiclesOfType]]<br />
*[[getVehicleTowedByVehicle]]<br />
*[[getVehicleTowingVehicle]]<br />
*[[getVehicleTurnVelocity]]<br />
*[[getVehicleTurretPosition]]<br />
*[[getVehicleType ]]<br />
*[[getVehicleUpgradeOnSlot]]<br />
*[[getVehicleUpgrades]]<br />
*[[getVehicleUpgradeSlotName]]<br />
*[[getVehicleWheelStates]]<br />
{{New feature|4|1.0.4|<br />
*[[isVehicleDamageProof]]<br />
}}<br />
*[[isVehicleFrozen]]<br />
*[[isVehicleFuelTankExplodable]]<br />
*[[isVehicleLocked]]<br />
*[[isVehicleOnGround]]<br />
*[[removeVehicleUpgrade]]<br />
*[[resetVehicleExplosionTime]]<br />
*[[resetVehicleIdleTime]]<br />
*[[respawnVehicle]]<br />
*[[setVehicleColor]]<br />
*[[setVehicleDamageProof]]<br />
*[[setVehicleDirtLevel]]<br />
*[[setVehicleDoorState]]<br />
*[[setVehicleDoorsUndamageable]]<br />
*[[setVehicleEngineState]]<br />
*[[setVehicleFrozen]]<br />
*[[setVehicleFuelTankExplodable]]<br />
*[[setVehicleIdleRespawnDelay]]<br />
*[[setVehicleLandingGearDown]]<br />
*[[setVehicleLightState]]<br />
*[[setVehicleLocked]]<br />
*[[setVehicleOverrideLights]]<br />
*[[setVehiclePaintjob]]<br />
*[[setVehiclePanelState]]<br />
*[[setVehicleRespawnDelay]]<br />
*[[setVehicleRespawnPosition]]<br />
*[[setVehicleRotation]]<br />
*[[setVehicleSirensOn]]<br />
*[[setVehicleTurnVelocity]]<br />
*[[setVehicleWheelStates]]<br />
*[[spawnVehicle]]<br />
*[[toggleVehicleRespawn]]<br />
{{New feature|3|1.0|<br />
*[[getTrainDirection]]<br />
*[[getTrainSpeed]]<br />
*[[getVehicleHeadLightColor]]<br />
*[[getVehicleModelFromName]]<br />
*[[getVehicleNameFromModel]]<br />
*[[getVehicleType]]<br />
*[[isTrainDerailable]]<br />
*[[isTrainDerailed]]<br />
*[[isVehicleBlown]]<br />
*[[isVehicleTaxiLightOn]]<br />
*[[setTrainDerailable]]<br />
*[[setTrainDerailed]]<br />
*[[setTrainDirection]]<br />
*[[setTrainSpeed]]<br />
*[[setVehicleHeadLightColor]]<br />
*[[setVehicleTaxiLightOn]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[getVehicleID]]<br />
*[[getVehicleIDFromName]]<br />
*[[getVehicleNameFromID]]<br />
*[[setVehicleModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_vehicle_functions&diff=23235
Template:Client vehicle functions
2010-04-30T17:32:23Z
<p>Awwu: </p>
<hr />
<div>*[[addVehicleUpgrade]]<br />
*[[attachTrailerToVehicle]]<br />
*[[blowVehicle]]<br />
*[[createVehicle]]<br />
*[[detachTrailerFromVehicle]]<br />
*[[fixVehicle]]<br />
*[[getVehicleAdjustableProperty]]<br />
*[[getVehicleColor]]<br />
*[[getVehicleCompatibleUpgrades]]<br />
*[[getVehicleController]]<br />
*[[getVehicleDoorState]]<br />
*[[getVehicleLandingGearDown]]<br />
*[[getVehicleLightState]]<br />
*[[getVehicleMaxPassengers]]<br />
*[[getVehicleName]]<br />
*[[getVehicleOccupant]]<br />
{{New feature|4|1.0.4|<br />
* [[getVehicleOccupants]]<br />
}}<br />
*[[getVehicleOverrideLights]]<br />
*[[getVehiclePaintjob]]<br />
*[[getVehiclePanelState]]<br />
*[[getVehiclePlateText]]<br />
*[[getVehicleRotation]]<br />
*[[getVehicleSirensOn]]<br />
*[[getVehicleTowedByVehicle]]<br />
*[[getVehicleTowingVehicle]]<br />
*[[getVehicleTurnVelocity]]<br />
*[[getVehicleTurretPosition]]<br />
*[[getVehicleUpgradeOnSlot]]<br />
*[[getVehicleUpgrades]]<br />
*[[getVehicleUpgradeSlotName]]<br />
*[[getVehicleWheelStates]]<br />
{{New feature|4|1.0.4|<br />
*[[isVehicleDamageProof]]<br />
}}<br />
*[[isVehicleFrozen]]<br />
*[[isVehicleFuelTankExplodable]]<br />
*[[isVehicleLocked]]<br />
*[[isVehicleOnGround]]<br />
*[[removeVehicleUpgrade]]<br />
*[[setVehicleAdjustableProperty]]<br />
*[[setVehicleColor]]<br />
*[[setVehicleDamageProof]]<br />
*[[setVehicleDirtLevel]]<br />
*[[setVehicleDoorState]]<br />
*[[setVehicleDoorsUndamageable]]<br />
*[[setVehicleEngineState]]<br />
*[[setVehicleFrozen]]<br />
*[[setVehicleFuelTankExplodable]]<br />
*[[setVehicleLandingGearDown]]<br />
*[[setVehicleLightState]]<br />
*[[setVehicleLocked]]<br />
*[[setVehicleOverrideLights]]<br />
*[[setVehiclePaintjob]]<br />
*[[setVehiclePanelState]]<br />
*[[setVehicleRotation]]<br />
*[[setVehicleSirensOn]]<br />
*[[setVehicleTurnVelocity]]<br />
*[[setVehicleWheelStates]]<br />
{{New feature|3|1.0|<br />
*[[getHelicopterRotorSpeed]]<br />
*[[getTrainDirection]]<br />
*[[getTrainSpeed]]<br />
*[[getVehicleGravity]]<br />
*[[getVehicleHeadLightColor]]<br />
*[[getVehicleModelFromName]]<br />
*[[getVehicleNameFromModel]]<br />
*[[getVehicleType]]<br />
*[[isTrainDerailable]]<br />
*[[isTrainDerailed]]<br />
*[[isVehicleBlown]]<br />
*[[isVehicleTaxiLightOn]]<br />
*[[setHelicopterRotorSpeed]]<br />
*[[setTrainDerailable]]<br />
*[[setTrainDerailed]]<br />
*[[setTrainDirection]]<br />
*[[setTrainSpeed]]<br />
*[[setVehicleGravity]]<br />
*[[setVehicleHeadLightColor]]<br />
*[[setVehicleTaxiLightOn]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[getVehicleID]]<br />
*[[getVehicleIDFromName]]<br />
*[[getVehicleNameFromID]]<br />
*[[setVehicleModel]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Element_functions&diff=22919
Template:Element functions
2010-04-18T19:15:51Z
<p>Awwu: </p>
<hr />
<div>*[[clearElementVisibleTo]]<br />
*[[cloneElement]]<br />
*[[createElement]]<br />
*[[destroyElement]]<br />
*[[getAllElementData]]<br />
*[[getAttachedElements]]<br />
*[[getElementAlpha]]<br />
*[[getElementAttachedTo]]<br />
*[[getElementByID]]<br />
*[[getElementByIndex]]<br />
*[[getElementChild]]<br />
*[[getElementChildren]]<br />
*[[getElementChildrenCount]]<br />
*[[getElementColShape]]<br />
*[[getElementData]]<br />
*[[getElementDimension]]<br />
*[[getElementHealth]]<br />
*[[getElementID]]<br />
*[[getElementInterior]]<br />
*[[getElementParent]]<br />
*[[getElementPosition]]<br />
*[[getElementsByType]]<br />
*[[getElementsWithinColShape]]<br />
*[[getElementType]]<br />
*[[getElementVelocity]]<br />
*[[getElementZoneName]]<br />
*[[getRootElement]]<br />
*[[isElement]]<br />
*[[isElementAttached]]<br />
*[[isElementVisibleTo]]<br />
*[[isElementWithinColShape]]<br />
*[[removeElementData]]<br />
*[[setElementAlpha]]<br />
*[[setElementData]]<br />
*[[setElementDimension]]<br />
*[[setElementHealth]]<br />
*[[setElementID]]<br />
*[[setElementInterior]]<br />
*[[setElementParent]]<br />
*[[setElementPosition]]<br />
{{New feature|4|1.0.4|<br />
*[[setElementSyncer]]<br />
}}<br />
*[[setElementVelocity]]<br />
*[[setElementVisibleTo]]<br />
{{New feature|3|1.0|<br />
*[[attachElements]]<br />
*[[detachElements]]<br />
*[[getElementModel]]<br />
*[[getElementSyncer]]<br />
*[[isElementInWater]]<br />
*[[setElementAttachedOffsets]]<br />
*[[setElementModel]]<br />
}}<br />
{{Deprecated_feature|3|1.0|<br />
*[[attachElementToElement]]<br />
*[[detachElementFromElement]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_projectile_functions&diff=22918
Template:Client projectile functions
2010-04-18T19:14:23Z
<p>Awwu: </p>
<hr />
<div>*[[createProjectile]]<br />
{{New feature|4|1.0.4|<br />
*[[getProjectileCreator]]<br />
*[[getProjectileForce]]<br />
*[[getProjectileTarget]]<br />
}}<br />
{{New feature|3|1.0|<br />
*[[getProjectileType]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Requested_Functions_and_Events&diff=22895
Requested Functions and Events
2010-04-17T19:26:20Z
<p>Awwu: </p>
<hr />
<div>==Server-side==<br />
<br />
onVehicleCreated or an equivalent... shouldn't be too hard? -Robhol (14:15 Jul 6, 08)<br />
:If we did it, it'd be onElementCreated - what do you want this for? [[User:EAi|eAi]] 08:58, 7 July 2008 (CDT)<br />
::onElementCreated is a good idea - it could be used for lots of things. Also, how about onVehicleDrown or whatever? that is, when a vehicle hits deep water. Checking for collisions and stuff is very awkward, and client-side only, and has to be checked constantly.. -Robhol (17:31 Jul 9 08)<br />
:::I second that. It would be useful if you use like me element data like the fuel amount or other stuff. And an event like this would help me to setup those element data, when a car spawns. Otherwise I would either have to edit every car spawn script I use or do a post-setup when someone is entering the car.. [[User:MaddDogg14]] (04:34 Apr 4, 10 (CEST))<br />
::::i definetly agree, onElementCreated would be VERY useful for utility/librares scripts, but i think this should be limited by ACL, because "evil" scripts could abuse this othervise -Karlis (9:10 Apr 5, 10)<br />
<br />
<br />
----<br />
<br />
I ask for a function that detects if a ped is on floor, eg. '''isPedOnFloor(ped thePed)''', thanks. --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 11:29, 15 June 2008 (CDT)<br />
: [[isPedOnGround]]? [[User:Awwu|Awwu]] 12:58, 15 June 2008 (CDT)<br />
::I need to know if the player has its back touching the ground, not if it's simply "on ground". --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 14:16, 16 June 2008 (CDT)<br />
:::Check what task the player has, they should have TASK_COMPLEX_FALL_AND_GET_UP or TASK_COMPLEX_FALL_AND_STAY_DOWN... [[User:EAi|eAi]] 19:12, 16 June 2008 (CDT)<br />
::::Thanks. What task does player have after being hitten by a melee attack that cause it to fall down? Would "TASK_SIMPLE_BE_KICKED_ON_GROUND" and "TASK_SIMPLE_GET_UP" work? --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 09:35, 17 June 2008 (CDT)<br />
:::::Try it, I'm not entirely sure. You should be able to produce some code to show the player's current tasks very easily... [[User:EAi|eAi]] 19:20, 17 June 2008 (CDT)<br />
::::::My goal is to edit the standard damage of the attacks, in this case i have to know when player is on ground to cause higher damage. However it doesn't seem to work, when i hit the player it simply gets up without animation with no damage. --<span style="font-family:Courier New, Courier, monospace">[[User:Shadd|Shadd]]</span><sub>([[User_talk:Shadd|In caso di emergenza rompere le scatole]])</sub> 19:10, 19 June 2008 (CDT)<br />
<br />
----<br />
<br />
It may looks strange and useless (waste of time?) but I think that it could be a awesome feature. Having a web browser.<br />
Like: http://www.youtube.com/watch?v=wT1UR6qEgdg<br />
http://princeofcode.com/awesomium.php<br />
:definetly useles and waste of time, suporting xfire enought. -karlis<br />
<br />
----<br />
<br />
There could be something like createBrowser( float x, float y, float z, [float rx, float ry, float rz, float width, float high, string url, bool locked] ) <br />
locked parameter: false = navigation bar present, true = no navigation bar<br />
toggleBrowserFullsceenMode(browser theBrowser, bool tog, [bool smooth])<br />
smooth parameter: If set to true the browser will smoothly move from his ingame position to the fullscreen position<br />
toggleBrowserBackground(browser theBrowser, bool tog)<br />
Set the browser background transparent.<br />
<br />
----<br />
<br />
Security: Disable file downloads, disable popups (disable flash, javascript and any other protocols than http and https [no mailto and stuff...]?)<br />
<br />
----<br />
<br />
Should be a Client and server function. --[[User:Masterofquebec|Masterofquebec]] 00:10, 15 October 2009 (UTC)<br />
<br />
----<br />
<br />
Support of tooltips from CEGUI would be cool. I saw a property for that, but it didn't work for me. [[User:MaddDogg14]] (04:36 Apr 4, 10 (CEST))<br />
<br />
----<br />
<br />
I request a function that gets all clothes from a ped, just like getPedClothes but for all bodyparts. With this function it would be more ease to save clothes to database.<br />
:That's so easy to do yourself that it's barely worth adding. Just loop all the indexes 0-17 and save them to a table. [[User:Awwu|Awwu]] 19:26, 17 April 2010 (UTC)<br />
<br />
==Client-Side==<br />
----<br />
<br />
Adding possibility to toggle radio hud label by '''showHudComponent''' -karlis <br />
<br />
----<br />
<br />
Pickup events clientside please, onClientPickupHit onClientPickupUse.<br />
<br />
----<br />
<br />
Would it be possible to add a color arg to guiGridListSetItemText()? Im trying to get each item colored differently in one list. Thanks, ABEL<br />
<br />
----<br />
<br />
I need a function which could get current target of hydra or a HS rocket launcher, like when someone press space and targets a element, to get what element is it for calculating distance from it. '''getPlayerOccupiedVehicleTarget''' or '''getPlayerHSTarget'''. <br />
Thanks in advance -Nidza a.k.a. CodeMaster 2:26 PM 19th June 2008.<br />
<br />
----<br />
<br />
It'd be useful to have something to disable elements of the default hud (weapon display, health display, armor, radar, etcetera) so that you can create your own HUDs. Something like '''setHudElement(element name, toggle)'''.<br />
<br />
[[User:Lord Xalphox|Lord Xalphox]] 19:32, 22 March 2009 (CET)<br />
:[[showPlayerHudComponent]]? [[User:Awwu|Awwu]] 19:43, 22 March 2009 (CET)<br />
<br />
----<br />
<br />
I'd like to have a function that sets the chatbox input line text. Then I could script my own chat history function (that inserts the last sent text into the input line again by pressing arrow up) (which samp has since 0.2 btw) since nobody builds it into the client. [[User:NeonBlack|NeonBlack]] 12:03, 4 July 2009 (CEST) PS.: samp also supports cut, copy and paste :P<br />
----<br />
<br />
A function setElementMatrix, doing the exact opposite of getElementMatrix would be much appreciated. --[[User:Kayl|Kayl]] 15:21, 13 November 2009 (UTC)<br />
<br />
----<br />
<br />
Functions like setTrainPosition(train,track,pos) and track,pos getTrainPosition(train) would be great in order to allow more script side control of trains.<br />
The track argument would be an index of the track number (currently there are around 4 tracks handled, including 1 incompletely defined).<br />
The position would be a float between 0 and 1 (or however you guys handle it) telling where on the track the train currently is.<br />
It would be great if those functions could be available client and server side. --[[User:Kayl|Kayl]] 12:58, 23 November 2009 (UTC)<br />
<br />
----<br />
<br />
need this function client and server side '''movePlayerHudComponent(string component, float x, float y)''' --[[User:SuatEyrice|SuatEyrice]] 00:18, 26 February 2010 (UTC)<br />
<br />
----</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=DxDrawImageSection&diff=22893
DxDrawImageSection
2010-04-17T15:59:51Z
<p>Awwu: Created page with '__NOTOC__ {{Client function}} Differing from dxDrawImage, this function only draws a part of an image on the screen for a single frame. In order for the image to stay visib…'</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}} <br />
Differing from [[dxDrawImage]], this function only draws a part of an image on the screen for a single frame. In order for the image to stay visible continuously, you need to call this function with the same parameters on each frame update (see [[onClientRender]]).<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool dxDrawImageSection ( float posX, float posY, float width, float height, float u, float v, float usize, float vsize, string filepath, [ float rotation = 0, float rotationCenterOffsetX = 0, float rotationCenterOffsetY = 0, int color = white, bool postGUI = false ] )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''posX:''' the absolute X coordinate of the top left corner of the image<br />
*'''posY:''' the absolute Y coordinate of the top left corner of the image<br />
*'''width:''' the absolute width of the image (must be a power of two or image might be blurry)<br />
*'''height:''' the absolute height of the image (must be a power of two or image might be blurry)<br />
{{Needs_Checking|''Argument validity needs to be checked''<br />
*'''u:''' the absolute X coordinate of the top left corner of the section which should be drawn from image<br />
*'''v:''' the absolute Y coordinate of the top left corner of the section which should be drawn from image<br />
*'''usize:''' the absolute width of the image section (must be a power of two or image might be blurry)<br />
*'''vsize:''' the absolute height of the image section (must be a power of two or image might be blurry)<br />
}}<br />
*'''filepath:''' The [[filepath]] of the image which is going to be drawn. (.dds images are also supported)<br />
<br />
===Optional Arguments===<br />
*'''rotation:''' the rotation, in degrees for the image.<br />
*'''rotationCenterOffsetX:''' the absolute X offset from the image center for which to rotate the image from.<br />
*'''rotationCenterOffsetY:''' the absolute Y offset from the image center for which to rotate the image from.<br />
*'''color:''' the color of the image, a value produced by [[tocolor]] or hexadecimal number in format: 0xAARRGGBB (AA = alpha, RR = red, GG = green, BB = blue).<br />
*'''postgui :''' A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI).<br />
<br />
===Returns===<br />
Returns ''true'' if successful, ''false'' otherwise.<br />
<br />
==Example== <br />
<section name="Client" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
--TODO<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Drawing_functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Drawing_functions&diff=22892
Template:Drawing functions
2010-04-17T15:28:47Z
<p>Awwu: </p>
<hr />
<div>{{New feature|3|1.0|<br />
*[[dxDrawImage]]<br />
{{New feature|4|1.0.4|<br />
*[[dxDrawImageSection]]<br />
}}<br />
*[[dxDrawLine]]<br />
*[[dxDrawLine3D]]<br />
*[[dxDrawRectangle]]<br />
*[[dxDrawText]]<br />
*[[dxGetFontHeight]]<br />
*[[dxGetTextWidth]]<br />
}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=SetElementSyncer&diff=22891
SetElementSyncer
2010-04-17T15:23:58Z
<p>Awwu: Created page with '{{Server function}} __NOTOC__ This function can be used to change the syncer (player) of an element. The function can be also used to remove element's syncer making it go ou…'</p>
<hr />
<div>{{Server function}}<br />
__NOTOC__ <br />
This function can be used to change the syncer ([[player]]) of an element. The function can be also used to remove element's syncer making it go out of sync.<br />
<br />
==Syntax== <br />
<br />
<syntaxhighlight lang="lua"><br />
bool setElementSyncer ( element theElement, [ player thePlayer = nil, bool enabled = true ] )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theElement:''' The [[element]] whose syncer you wish to change.<br />
<br />
===Optional Arguments===<br />
{{OptionalArg}}<br />
*'''thePlayer:''' The [[player]] who should be the new syncer of the element. Can be ignored as '''[[nil]]''' when removing the sync of an element.<br />
*'''enabled:''' Whether the sync should be enabled or disabled. Disabling element's syncer may lead to desynchronization.<br />
<br />
===Returns===<br />
Returns ''true'' if the syncer was changed succesfully, ''false'' otherwise.<br />
<br />
==Example== <br />
<section name="Server" class="server" show="true"><br />
<syntaxhighlight lang="lua"><br />
-- TODO<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Element_functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=ResetTimer&diff=22785
ResetTimer
2010-04-02T17:20:34Z
<p>Awwu: Created page with '{{Server client function}} __NOTOC__ This function allows you to reset the elapsed time in existing timers to zero. The function does not reset the 'times to execute' count on ti…'</p>
<hr />
<div>{{Server client function}}<br />
__NOTOC__<br />
This function allows you to reset the elapsed time in existing timers to zero. The function does not reset the 'times to execute' count on timers which have a limited amout of repetitions.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool resetTimer ( timer theTimer )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theTimer:''' The [[timer]] whose elapsed time you wish to reset.<br />
<br />
===Returns===<br />
Returns ''true'' if the timer was successfully reset, ''false'' otherwise.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
--TODO<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Utility functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=SetTimer&diff=22784
SetTimer
2010-04-02T17:12:56Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function allows you to trigger a function after a number of milliseconds have elapsed. You can call one of your own functions or a built-in function. For example, you could set a timer to spawn a player after a number of seconds have elapsed.<br />
<br />
Once a timer has finished repeating, it no longer exists.<br />
<br />
The minimum accepted interval is 50ms.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
timer setTimer ( function theFunction, int timeInterval, int timesToExecute, [ var arguments... ] )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theFunction:''' The function you wish the timer to call.<br />
*'''timeInterval:''' The number of milliseconds that should elapse before the function is called. (the minimum is 50)(1000 milliseconds = 1 second)<br />
*'''timesToExecute:''' The number of times you want the timer to execute, or 0 for infinite repetitions.<br />
<br />
===Optional Arguments=== <br />
{{OptionalArg}} <br />
*'''arguments:''' Any arguments you wish to pass to the function can be listed after the ''timesToExecute'' argument. Note that any tables you want to pass will get cloned, whereas metatables will get lost. Also changes you make in the original table before the function gets called won't get transfered.<br />
<br />
===Returns===<br />
Returns a [[timer]] pointer if the timer was set succesfully, ''false'' if the arguments are invalid or the timer could not be set.<br />
<br />
==Example==<br />
<section name="Example" class="both" show="true"><br />
This example will output some text after a small delay.<br />
<br />
<syntaxhighlight lang="lua"><br />
-- define function to be called<br />
function delayedChat ( text )<br />
outputChatBox ( "Delayed text: " .. text )<br />
end<br />
<br />
-- set a timer so the function is called after 1 second<br />
setTimer ( delayedChat, 1000, 1, "Hello, World!" )<br />
</syntaxhighlight><br />
<br />
1 second after the line above has been executed, the text ''Delayed text: Hello, World!'' will be displayed in the chat box.<br />
</section><br />
<br />
==See Also==<br />
{{Utility functions}}</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=FileExists&diff=22783
FileExists
2010-04-02T17:08:59Z
<p>Awwu: Created page with '__NOTOC__ {{Server function}} This functions checks whether a specified file exists inside a resource. ==Syntax== <syntaxhighlight lang="lua"> bool fileExists ( string filePath ) </syntaxhighlight> ===Req…'</p>
<hr />
<div>__NOTOC__<br />
{{Server function}}<br />
This functions checks whether a specified file exists inside a resource.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool fileExists ( string filePath )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''filePath:''' The [[filepath]] of the file, whose existence is going to be checked, in the following format: '''":resourceName/path"'''. 'resourceName' is the name of the resource the file is checked to be in, and 'path' is the path from the root directory of the resource to the file.<br />
:For example, if you want to check whether a file named 'myfile.txt' exists in the resource 'mapcreator', it can be done from another resource this way: ''fileExists(":mapcreator/myfile.txt")''.<br />
:If the file, whose existence is going to be checked, is in the current resource, only the file path is necessary, e.g. ''fileExists("myfile.txt")''.<br />
<br />
===Returns===<br />
Returns ''true'' if the file exists, ''false'' otherwise.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
--TODO<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{File functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=SetSoundSpeed&diff=22782
SetSoundSpeed
2010-04-02T16:58:00Z
<p>Awwu: Created page with '__NOTOC__ {{Client function}} This function can be used to change the playback speed of the specified sound element. ==Syntax== <syntaxhighlight lang="lua">bool setSoundSpeed ( element t…'</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function can be used to change the playback speed of the specified [[sound]] element.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua">bool setSoundSpeed ( element theSound, float speed )</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theSound:''' The [[sound]] element which volume you want to modify.<br />
*'''speed:''' A [[float]]ing point number representing the desired sound playback speed.<br />
<br />
===Returns===<br />
Returns ''true'' if the [[sound]] element playback speed was successfully changed, ''false'' otherwise.<br />
<br />
==Example== <br />
<section name="Client" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
--TODO<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Client_audio_functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=GetSoundSpeed&diff=22781
GetSoundSpeed
2010-04-02T16:55:08Z
<p>Awwu: Created page with '__NOTOC__ {{Client function}} This function is used to return the playback speed of the specified sound element. ==Syntax== <syntaxhighlight lang="lua">float getSoundSpeed ( element theS…'</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function is used to return the playback speed of the specified [[sound]] element.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua">float getSoundSpeed ( element theSound )</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theSound:''' The [[sound]] element which playback speed you want to return.<br />
<br />
===Returns===<br />
Returns an [[float]] value indicating the playback speed of the [[sound]] element. Default sound playback speed is '''1.0'''.<br />
<br />
==Example== <br />
TODO<br />
<section name="Client" class="client" show="true"><br />
<syntaxhighlight lang="lua"><br />
--TODO<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Client_audio_functions}}<br />
[[Category:Needs_Example]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=SetGravity&diff=22776
SetGravity
2010-04-01T14:54:45Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function sets the server's gravity level.<br />
<br />
'''Note:''' This does not effect peds/players; to set ped/player gravity use [[setPedGravity]].<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua">bool setGravity ( float level )</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''level''': The level of gravity (default is '''0.008''').<br />
<br />
===Returns===<br />
Returns ''true'' if gravity was changed, ''false'' otherwise.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
function grav ( sourcePlayer, command, level )<br />
setGravity ( tonumber(level) )<br />
end<br />
addCommandHandler ( "setgravity", grav )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{World functions}}<br />
<br />
[[ru:setGravity]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=SetGravity&diff=22775
SetGravity
2010-04-01T14:29:24Z
<p>Awwu: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
This function sets the server's gravity level.<br />
<br />
'''Note:''' that this does not effect peds/players; to set ped/player gravity use [[setPedGravity]].<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua">bool setGravity ( float level )</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''level''': The level of gravity (default is '''0.008''').<br />
<br />
===Returns===<br />
Returns ''true'' if gravity was changed, ''false'' otherwise.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
function grav ( sourcePlayer, command, level )<br />
setGravity ( tonumber(level) )<br />
end<br />
addCommandHandler ( "setgravity", grav )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{World functions}}<br />
<br />
[[ru:setGravity]]</div>
Awwu
https://wiki.multitheftauto.com/index.php?title=Template:Client_utility_functions&diff=22774
Template:Client utility functions
2010-04-01T14:21:37Z
<p>Awwu: </p>
<hr />
<div>* [[getDistanceBetweenPoints2D]]<br />
* [[getDistanceBetweenPoints3D]]<br />
* [[getRealTime]]<br />
* [[getTickCount]]<br />
* [[getTimers]]<br />
* [[gettok]]<br />
* [[killTimer]]<br />
{{New feature|4|1.0.4|<br />
*[[resetTimer]]<br />
}}<br />
* [[setTimer]]<br />
* [[split]]<br />
* [[getVersion]]<br />
* [[isTimer]]<br />
* [[md5]]<br />
* [[tocolor]]</div>
Awwu