AttachTrailerToVehicle FR
From SA-MP Wiki
(Difference between revisions)
Revision as of 03:50, 5 January 2013 Connor Mead (Talk | contribs) ← Previous diff |
Revision as of 06:07, 5 January 2013 Connor Mead (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
+ | {{Scripting}} | ||
+ | {{Title}} | ||
+ | |||
+ | Cette fonction permet d'attacher une remorque à un véhicule | ||
+ | |||
+ | {{note2|Ne fonctionne que si le véhicule et devant la remorque.}} | ||
+ | |||
+ | {{ParametersFR|trailerid, vehicleid}} | ||
+ | {{Param|trailerid|ID de la remorque}} | ||
+ | {{Param|vehicleid|ID du véhicule}} | ||
+ | |||
+ | {{ReturnsFR|Cette fonction ne retourne pas de certaine valeur}} | ||
+ | |||
+ | <pawn> | ||
+ | // makes vehicle 1 pull vehicle 5 | ||
+ | AttachTrailerToVehicle(5, 1); | ||
+ | </pawn> | ||
+ | |||
+ | {{RelatedFunctionsfr}} | ||
+ | {{DetachTrailerFromVehicle}} | ||
+ | {{IsTrailerAttachedToVehicle}} | ||
+ | {{GetVehicleTrailer}} | ||
+ | |||
+ | |||
[[Category:Scripting Functions FR]] | [[Category:Scripting Functions FR]] |
Revision as of 06:07, 5 January 2013
Cette fonction permet d'attacher une remorque à un véhicule
(trailerid, vehicleid)
trailerid | ID de la remorque |
vehicleid | ID du véhicule |
Retourne:
Cette fonction ne retourne pas de certaine valeur
// makes vehicle 1 pull vehicle 5 AttachTrailerToVehicle(5, 1);
- DetachTrailerFromVehicle: Detach a trailer from a vehicle.
- IsTrailerAttachedToVehicle: Check if a trailer is attached to a vehicle.
- GetVehicleTrailer: Check what trailer a vehicle is pulling.