Skip to content

Commit ae2c689

Browse files
authored
Merge pull request #1220 from NexiusTailer/master
Couple of little fixes
2 parents c03444f + 422b92b commit ae2c689

8 files changed

Lines changed: 18 additions & 30 deletions

File tree

frontend/docs/scripting/functions/GetMyFacingAngle.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ The facing angle is stored in the specified variable.
2626
## Examples
2727

2828
```c
29-
public OnPlayerText(playerid, text[])
30-
{
3129
new Float:Angle;
3230
GetMyFacingAngle(Angle);
3331
printf("I am currently facing %f!", Angle);
34-
3532
```
3633
3734
## Related Functions

frontend/docs/scripting/functions/SendCommand.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tags: []
99

1010
This function is deprecated.
1111

12-
See `PC_EmulateCommand` for Pawn.CMD or similar means for other command processors.
12+
See `PC_EmulateCommand` for [Pawn.CMD](https://github.com/katursis/Pawn.CMD) or similar means for other command processors.
1313

1414
:::
1515

frontend/docs/scripting/resources/specialactions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Special actions marked with \* cannot be set using [SetPlayerSpecialAction](../f
1616
| ID | Action | Description |
1717
| --- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
1818
| 0 | SPECIAL_ACTION_NONE | Clears player of special actions |
19+
| 1 | SPECIAL_ACTION_DUCK \* | Detect if the player is crouching. |
1920
| 2 | SPECIAL_ACTION_USEJETPACK | Will make the player using jetpack |
21+
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | Detect if the player is entering a vehicle via an animation. |
22+
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | Detect if the player is exiting a vehicle via an animation. |
2023
| 5 | SPECIAL_ACTION_DANCE1 | Applies dancing animation for player |
2124
| 6 | SPECIAL_ACTION_DANCE2 | Applies dancing animation for player |
2225
| 7 | SPECIAL_ACTION_DANCE3 | Applies dancing animation for player |
@@ -25,13 +28,10 @@ Special actions marked with \* cannot be set using [SetPlayerSpecialAction](../f
2528
| 11 | SPECIAL_ACTION_USECELLPHONE | Will make the player speaking on cellphone |
2629
| 12 | SPECIAL_ACTION_SITTING \* | Detects if the player is sitting |
2730
| 13 | SPECIAL_ACTION_STOPUSECELLPHONE | Makes players stop using cellphone |
28-
| 1 | SPECIAL_ACTION_DUCK \* | Detect if the player is crouching. |
29-
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | Detect if the player is entering a vehicle via an animation. |
30-
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | Detect if the player is exiting a vehicle via an animation. |
3131
| 20 | SPECIAL_ACTION_DRINK_BEER | Will increase the player's drunk level when used |
3232
| 21 | SPECIAL_ACTION_SMOKE_CIGGY | Will give the player a cigar. |
3333
| 22 | SPECIAL_ACTION_DRINK_WINE | Will give the player a wine bottle to get drunk from |
3434
| 23 | SPECIAL_ACTION_DRINK_SPRUNK | Will give the player a sprunk bottle to drink from |
35-
| 68 | SPECIAL_ACTION_PISSING | Will make the player perform the pissing animation with visible pee (**the macro is not present in the SA-MP include files**). |
3635
| 24 | SPECIAL_ACTION_CUFFED | Will force the player in to cuffs (hands are behind their back) (**does not work on CJ skin**). |
3736
| 25 | SPECIAL_ACTION_CARRY | Will apply a 'carrying' animation to the player and make them unable to sprint, jump or punch (**does not work on CJ skin**). |
37+
| 68 | SPECIAL_ACTION_PISSING | Will make the player perform the pissing animation with visible pee (**the macro is not present in the SA-MP include files**). |

frontend/i18n/bs/docusaurus-plugin-content-docs/current/scripting/functions/GetMyFacingAngle.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ Ugao posmatranja je pohranjen u navedenoj varijabli.
2020
## Primjeri
2121

2222
```c
23-
public OnPlayerText(playerid, text[])
24-
{
2523
new Float:Angle;
2624
GetMyFacingAngle(Angle);
2725
printf("Trenutno posmatram %f!", Angle);
28-
2926
```
3027
3128
## Srodne Funkcije

frontend/i18n/fa/docusaurus-plugin-content-docs/current/scripting/functions/GetMyFacingAngle.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ tags: []
2424
</div>
2525

2626
```c
27-
public OnPlayerText(playerid, text[])
28-
{
2927
new Float:Angle;
3028
GetMyFacingAngle(Angle);
3129
printf("الان در زاویه %f رو به رو هستم!", Angle);
32-
3330
```
3431
3532
<div dir="rtl" style={{ textAlign: "right" }}>

frontend/i18n/nl/docusaurus-plugin-content-docs/current/scripting/resources/specialactions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,18 @@ tags: ["player"]
88
Deze pagina bundelt de speciale acties voor [GetPlayerSpecialAction](../functions/GetPlayerSpecialAction) en [SetPlayerSpecialAction](../functions/SetPlayerSpecialAction).
99

1010
:::warning
11+
1112
Acties met \* kunnen niet via `SetPlayerSpecialAction` gezet worden.
13+
1214
:::
1315

1416
| ID | Actie | Beschrijving |
1517
| --- | --------------------------------| ------------------------------------------------------------------------------------------- |
1618
| 0 | SPECIAL_ACTION_NONE | Verwijdert speciale actie |
19+
| 1 | SPECIAL_ACTION_DUCK \* | Detecteert hurken |
1720
| 2 | SPECIAL_ACTION_USEJETPACK | Speler gebruikt jetpack |
21+
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | Detecteert instappen via animatie |
22+
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | Detecteert uitstappen via animatie |
1823
| 5 | SPECIAL_ACTION_DANCE1 | Dansanimatie 1 |
1924
| 6 | SPECIAL_ACTION_DANCE2 | Dansanimatie 2 |
2025
| 7 | SPECIAL_ACTION_DANCE3 | Dansanimatie 3 |
@@ -23,15 +28,10 @@ Acties met \* kunnen niet via `SetPlayerSpecialAction` gezet worden.
2328
| 11 | SPECIAL_ACTION_USECELLPHONE | Bellen met telefoon |
2429
| 12 | SPECIAL_ACTION_SITTING \* | Detecteert zitten |
2530
| 13 | SPECIAL_ACTION_STOPUSECELLPHONE | Stoppen met telefoon |
26-
| 1 | SPECIAL_ACTION_DUCK \* | Detecteert hurken |
27-
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | Detecteert instappen via animatie |
28-
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | Detecteert uitstappen via animatie |
2931
| 20 | SPECIAL_ACTION_DRINK_BEER | Verhoogt dronkenheidsniveau |
3032
| 21 | SPECIAL_ACTION_SMOKE_CIGGY | Geeft speler een sigaar |
3133
| 22 | SPECIAL_ACTION_DRINK_WINE | Geeft speler een wijnfles |
3234
| 23 | SPECIAL_ACTION_DRINK_SPRUNK | Geeft speler een Sprunk‑fles |
33-
| 68 | SPECIAL_ACTION_PISSING | Plast‑animatie met zichtbaar effect (macro ontbreekt in SA‑MP include) |
3435
| 24 | SPECIAL_ACTION_CUFFED | Handboeien (werkt niet op CJ‑skin) |
3536
| 25 | SPECIAL_ACTION_CARRY | Draag‑animatie; sprinten/springen/slaan uitgeschakeld (werkt niet op CJ‑skin) |
36-
37-
37+
| 68 | SPECIAL_ACTION_PISSING | Plast‑animatie met zichtbaar effect (macro ontbreekt in SA‑MP include) |

frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current/scripting/functions/GetMyFacingAngle.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ tags: []
2626
## 示例代码
2727

2828
```c
29-
public OnPlayerText(playerid, text[])
30-
{
31-
new Float:Angle;
32-
GetMyFacingAngle(Angle);
33-
printf("我正面对着 %f!", Angle);
34-
}
29+
new Float:Angle;
30+
GetMyFacingAngle(Angle);
31+
printf("我正面对着 %f!", Angle);
3532
```
3633
3734
## 相关函数

frontend/i18n/zh-CN/docusaurus-plugin-content-docs/current/scripting/resources/specialactions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ tags: ["玩家"]
1616
| ID | 动作名称 | 说明 |
1717
| --- | ------------------------------- | -------------------------------------------------------------------- |
1818
| 0 | SPECIAL_ACTION_NONE | 清除玩家所有特殊动作 |
19+
| 1 | SPECIAL_ACTION_DUCK \* | 检测玩家是否处于蹲下状态 |
1920
| 2 | SPECIAL_ACTION_USEJETPACK | 使玩家使用喷气背包 |
21+
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | 检测玩家是否正在通过动画进入车辆 |
22+
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | 检测玩家是否正在通过动画离开车辆 |
2023
| 5 | SPECIAL_ACTION_DANCE1 | 播放舞蹈动画 1 |
2124
| 6 | SPECIAL_ACTION_DANCE2 | 播放舞蹈动画 2 |
2225
| 7 | SPECIAL_ACTION_DANCE3 | 播放舞蹈动画 3 |
@@ -25,13 +28,10 @@ tags: ["玩家"]
2528
| 11 | SPECIAL_ACTION_USECELLPHONE | 使玩家使用手机通话 |
2629
| 12 | SPECIAL_ACTION_SITTING \* | 检测玩家是否处于坐下状态 |
2730
| 13 | SPECIAL_ACTION_STOPUSECELLPHONE | 使玩家停止使用手机 |
28-
| 1 | SPECIAL_ACTION_DUCK \* | 检测玩家是否处于蹲下状态 |
29-
| 3 | SPECIAL_ACTION_ENTER_VEHICLE \* | 检测玩家是否正在通过动画进入车辆 |
30-
| 4 | SPECIAL_ACTION_EXIT_VEHICLE \* | 检测玩家是否正在通过动画离开车辆 |
3131
| 20 | SPECIAL_ACTION_DRINK_BEER | 使用后会增加玩家醉酒值 |
3232
| 21 | SPECIAL_ACTION_SMOKE_CIGGY | 使玩家抽雪茄 |
3333
| 22 | SPECIAL_ACTION_DRINK_WINE | 使玩家饮用葡萄酒瓶并进入醉酒状态 |
3434
| 23 | SPECIAL_ACTION_DRINK_SPRUNK | 使玩家饮用 Sprunk 饮料 |
35-
| 68 | SPECIAL_ACTION_PISSING | 播放小便动画并显示尿液效果(**该宏未包含在 SA-MP 头文件中**|
3635
| 24 | SPECIAL_ACTION_CUFFED | 强制玩家做出被拷动作(双手背在身后)(在 CJ 皮肤上无效) |
3736
| 25 | SPECIAL_ACTION_CARRY | 使玩家呈现"搬运"动画,并使其无法冲刺、跳跃或挥拳(在 CJ 皮肤上无效) |
37+
| 68 | SPECIAL_ACTION_PISSING | 播放小便动画并显示尿液效果(**该宏未包含在 SA-MP 头文件中**|

0 commit comments

Comments
 (0)