Position joueur:
Prendre
GetPlayerPos(PlayerID, &Float:X, &Float:Y, &Float:Z);
// [url]http://pawn.gtaonline.fr/index.php/GetPlayerPos[/url]
// [url]http://wiki.sa-mp.com/wiki/Function:GetPlayerPos[/url]
Donner
SetPlayerPos(PlayerID, Float:X, Float:Y, Float:Z);
// [url]http://pawn.gtaonline.fr/index.php/SetPlayerPos[/url]
// [url]http://wiki.sa-mp.com/wiki/Function:SetPlayerPos[/url]
Position caméra:
Prendre
GetPlayerCameraPos(PlayerID, &Float:X, &Float:Y, &Float:Z);
// [url]http://wiki.sa-mp.com/wiki/GetPlayerCameraPos[/url]
Donner
SetPlayerCameraPos(PlayerID, &Float:X, &Float:Y, &Float:Z);
// [url]http://wiki.sa-mp.com/wiki/SetPlayerCameraPos[/url]
Point de vue caméra:
Prendre (il n'y a pas d'erreur ici ;))
GetPlayerPos(PlayerID, &Float:X, &Float:Y, &Float:Z);
// [url]http://pawn.gtaonline.fr/index.php/GetPlayerPos[/url]
// [url]http://wiki.sa-mp.com/wiki/Function:GetPlayerPos[/url]
Donner
SetPlayerCameraLookAt(PlayerID, Float:X, Float:Y, Float:Z);
// [url]http://wiki.sa-mp.com/wiki/SetPlayerCameraLookAt[/url]