RemoveVehicleComponent FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:56, 5 January 2013
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 19:14, 6 January 2013
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
 +{{Scripting}}
 +{{Title}}
 +
 +{{Description|Remove a component from a vehicle.}}
 +
 +{{Parameters|vehicleid, componentid}}
 +{{Param|vehicleid|ID of the vehicle.}}
 +{{Param|componentid|ID of the [[Car_Component_ID|component]] to remove.}}
 +{{NoReturn}}
 +
 +<pawn>
 +//remove Nitro from vehicle number 1
 +RemoveVehicleComponent(1,1010);
 +</pawn>
 +
 +{{RelatedFunctionsFR}}
 +*[[AddVehicleComponent_FR|AddVehicleComponent:]] Ajoute un composant au véhicule
 +*[[GetVehicleComponentInSlot_FR|GetVehicleComponentInSlot:]]
 +*[[GetVehicleComponentType_FR|GetVehicleComponentType:]]
 +
 +{{RelatedCallbacksFunctionFR}}
 +*[[GetVehicleComponentType_FR|GetVehicleComponentType:]] Quand un véhicule est modifié dans un transfender/wheel arch angel
 +*[[OnEnterExitModShop_FR|OnEnterExitModShop:]] Quand un joueur sors d'un transfender
 +
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]

Revision as of 19:14, 6 January 2013




Description:

Remove a component from a vehicle.


Parameters:
(vehicleid, componentid)
vehicleidID of the vehicle.
componentidID of the component to remove.

Return Values:

This function does not return any specific values.


//remove Nitro from vehicle number 1
RemoveVehicleComponent(1,1010);

Fonctions Relatives

Les fonctions suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.

Callbacks Relatives

Les Callbacks suivantes peuvent être utiles car elles sont indirectement ou directement liées a cette fonction.