20.11.2011, 19:16
Ok i got a flip cmd but it set it to 0.0 where i want it to get there faceingangle and use that this is the cmd.
So i know i need to use GetPlayerFacingAngle and then setPlayerfacingAngle but if u look in the cmd ive got Float:X,Y,Z what do i need to put for facingangle?
Код:
CMD:flip(playerid, params[]) { new VehicleID, Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, X, Y, Z); SetVehicleZAngle(VehicleID, 0); return 1; }