Neeed Help Get Angle car with /angle

Started by Mohamed Boubekri, Oct 18, 2017, 04:24 PM

Previous topic - Next topic

Mohamed Boubekri

Hello Guys Can Any One Help Me i am need Code To Get Angle Car And Thanks
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

Thijn

Pseudo code, you'd have to change that to working code yourself.

onPlayerCommand(player, command, text) {
if (command == "angle") {
if (player.Vehicle) {
MessagePlayer(player, "Angle: " + player.Vehicle.Angle);
} else {
MessagePlayer(player, "Get in a vehicle. Noob.");
}
}

Mohamed Boubekri

]
Quote from: Thijn on Oct 18, 2017, 04:27 PMPseudo code, you'd have to change that to working code yourself.

onPlayerCommand(player, command, text) {
if (command == "angle") {
if (player.Vehicle) {
MessagePlayer(player, "Angle: " + player.Vehicle.Angle);
} else {
MessagePlayer(player, "Get in a vehicle. Noob.");
}
}
@Thijn Thanks For You Help Problem Solved By @KuRiMi
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].