Skip to content

Commit 422b92b

Browse files
committed
Fix incorrect examples, tweak notes
1 parent ad91c17 commit 422b92b

5 files changed

Lines changed: 4 additions & 16 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/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/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
## 相关函数

0 commit comments

Comments
 (0)