SetVehiclePos FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:20, 2 February 2014
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 17:21, 2 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 26: Line 26:
[[Category:Scripting Functions FR]] [[Category:Scripting Functions FR]]
 +
 +[[en:SetVehiclePos]]

Revision as of 17:21, 2 February 2014




Description:

Modifier la position d'un véhicule


Image:32px-Circle-style-warning.png

Note
Importante

Un véhicule vide ne tombera pas si il est téléporté en l'air.



Paramètres:
(vehicleid, Float:x, Float:y, Float:z)
vehicleidVehicle ID that you want set new position.
Float:xThe X coordinate to position the vehicle at.
Float:yThe Y coordinate to position the vehicle at.
Float:zThe Z coordinate to position the vehicle at.


RetourneCette fonction ne retourne pas de valeur spécifique.


//Mettre le véhicule aux coordonnés 0, 0, 3 (Centre de GTA:SA)
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, 0, 0, 3);

Fonctions Relatives

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

In other languages