-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #829 from NermanLegacy/patch-5
Translate SetPlayerObjectMoveSpeed in to Bosnian
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
docs/translations/bs/scripting/functions/SetPlayerObjectMoveSpeed.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: SetPlayerObjectMoveSpeed | ||
description: Postavi brzinu kretanja player-objekta. | ||
tags: ["player", "object", "playerobject"] | ||
--- | ||
|
||
<VersionWarn version='omp v1.1.0.2612' /> | ||
|
||
## Deskripcija | ||
|
||
Postavi brzinu kretanja player-objekta. | ||
|
||
| Ime | Deskripcija | | ||
|-------------|-----------------------------------------------------------| | ||
| playerid | ID igrača. | | ||
| objectid | ID player-objekta kojem se seta brzina kretanja. | | ||
| Float:speed | Brzina kojom će se objekat kretati (jedinica u sekundi). | | ||
|
||
## Returnovi | ||
|
||
`true` - Funkcija uspješno izvršena. | ||
|
||
`false` - Funkcija neuspješno izvršena. Navedeni objekat ne postoji. | ||
|
||
## Primjeri | ||
|
||
```c | ||
new playerobjectid = CreatePlayerObject(playerid, 985, 1003.39154, -643.33423, 122.35060, 0.00000, 1.00000, 24.00000); | ||
MovePlayerObject(playerid, playerobjectid, 1003.3915, -643.3342, 114.5122, 0.8); | ||
|
||
SetPlayerObjectMoveSpeed(playerid, playerobjectid, 1.5); | ||
// Brzina kretanja je promijenjena sa 0.8 na 1.5 | ||
``` | ||
## Srodne Funkcije | ||
- [MovePlayerObject](MovePlayerObject): Pomjeri player objekat na novu poziciju zadanom brzinom. | ||
- [GetPlayerObjectMoveSpeed](GetPlayerObjectMoveSpeed): Dobij brzinu kretanja player-objekta. | ||
- [SetObjectMoveSpeed](SetObjectMoveSpeed): Postavi brzinu kretanja objekta. |