27.09.2011, 15:54
(
Последний раз редактировалось Babul; 28.09.2011 в 13:04.
)
piece of cake:
edit: <link removed>
you were using the rotation in the SetPlayerPos(). thats wrong. that command only takes x,y and z parameters
by adding the SetPlayerFacingangle(playerid,z_rotation) with your last parameter (that rotation) with the SetCameraBehindPlayer(), the parameter count mismatch got solved.
further i suggest you to use another command processor instead of the OnPlayerCommandText(). but it should work now as it is. enjoy ^^
edit: <link removed>
you were using the rotation in the SetPlayerPos(). thats wrong. that command only takes x,y and z parameters
by adding the SetPlayerFacingangle(playerid,z_rotation) with your last parameter (that rotation) with the SetCameraBehindPlayer(), the parameter count mismatch got solved.
further i suggest you to use another command processor instead of the OnPlayerCommandText(). but it should work now as it is. enjoy ^^