Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions frontend/docs/scripting/functions/IsPlayerStreamedIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ if (IsPlayerStreamedIn(playerid, 0))

:::

:::warning

Players aren't streamed in on their own client, so if playerid is the same as forplayerid it will return false!

:::

## Related Functions

- [IsActorStreamedIn](IsActorStreamedIn): Checks if an actor is streamed in for a player.
Expand Down
4 changes: 1 addition & 3 deletions frontend/docs/scripting/functions/strcmp.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

- This function returns **0** if either string is empty. Check for null strings with `isnull()`.

- If you compare strings from a text file, you should take in to account the 'carriage return' and 'new line' special characters (`\r` `\n`), as they are included, when using [fread](fread).
If you compare strings from a text file, you should take in to account the 'carriage return' and 'new line' special characters (`\r` `\n`), as they are included, when using [fread](fread).

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ Igrači nestaju ako su udaljeni više od 150 metara (vidi server.cfg - stream_di

:::

:::warning

Igrači se ne prenose putem vlastitog klijenta (nisu učitani u vlastitom klijentu), pa ako je playerid isti kao forplayerid, vratit će se false!

:::

## Srodne Funkcije

- [IsActorStreamedIn](IsActorStreamedIn): Provjeri da li je aktor učitan kod igrača.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

Ova funkcija vraća 0 ako je bilo koji niz prazan. Provjerite ima li null nizova pomoću isnull (). Ako uspoređujete nizove iz tekstualne datoteke, trebali biste uzeti u obzir posebne znakove 'carriage return' i 'new line' (\r \n), kada su uključeni, kada koristite fread.
Ako uspoređujete nizove iz tekstualne datoteke, trebali biste uzeti u obzir posebne znakove 'carriage return' i 'new line' (\r \n), kada su uključeni, kada koristite fread.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ if (IsPlayerStreamedIn(playerid, 0))

:::

:::warning

بازیکنان در کلاینت خودشون stream نمی‌شن، پس اگه playerid همون forplayerid باشه false برمی‌گردونه!

:::

## توابع مرتبط

- [IsActorStreamedIn](IsActorStreamedIn): چک می‌کنه که آیا یه actor برای بازیکن stream شده یا نه.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

اگر هر رشته خالی باشد ، این تابع 0 را برمی گرداند. رشته های null را با isnull () بررسی کنید. اگر رشته ها را از یک فایل متنی مقایسه می کنید ، باید هنگام استفاده از fread ، کاراکتر های خاص "carriage return" و "خط جدید" را در نظر بگیرید (n \r\) ، همانطور که در آنها گنجانده شده است.
اگر رشته ها را از یک فایل متنی مقایسه می کنید ، باید هنگام استفاده از fread ، کاراکتر های خاص "carriage return" و "خط جدید" را در نظر بگیرید (n \r\) ، همانطور که در آنها گنجانده شده است.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

Fungsi ini me-return 0 jika stringnya kosong. Cek string kosong dengan isnull(). Jika anda bandingkan strings dari sebuah file teks, anda harus mempertimbangkan karakter khusus seperti 'carriage return' dan 'new line' (\r \n), seperti yang telah disertakan, saat menggunakan fread.
Jika anda bandingkan strings dari sebuah file teks, anda harus mempertimbangkan karakter khusus seperti 'carriage return' dan 'new line' (\r \n), seperti yang telah disertakan, saat menggunakan fread.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

Esta função retorna 0 se uma das strings estiver vazia. Verifique se há strings nulas com isnull(). Se você comparar strings de um arquivo de texto, você deve levar em consideração os caracteres especiais 'carriage return' e 'new line' (\r \n), conforme eles são incluídos, ao usar fread().
Se você comparar strings de um arquivo de texto, você deve levar em consideração os caracteres especiais 'carriage return' e 'new line' (\r \n), conforme eles são incluídos, ao usar fread().

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ Players stream out if they are more than 150 meters away (see server.cfg - strea

:::

:::warning

Players aren't streamed in on their own client, so if playerid is the same as forplayerid it will return false!

:::

## ฟังก์ชั่นที่เกี่ยวข้องกัน

- [IsActorStreamedIn](IsActorStreamedIn): Checks if an actor is streamed in for a player.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

This function returns 0 if either string is empty. Check for null strings with isnull(). If you compare strings from a text file, you should take in to account the 'carriage return' and 'new line' special characters (\r \n), as they are included, when using fread.
If you compare strings from a text file, you should take in to account the 'carriage return' and 'new line' special characters (\r \n), as they are included, when using fread.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ if (IsPlayerStreamedIn(playerid, 0))

:::

:::warning

玩家无法在自己的客户端流加载自身,当 playerid 与 forplayerid 相同时始终返回 false!

:::

## 相关函数

- [IsActorStreamedIn](IsActorStreamedIn): 检测角色是否已为玩家流加载
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ if (!strcmp(string1, string2) && !isnull(string1) && !isnull(string2))

:::warning

- 当任一字符串为空时此函数会返回 **0**,请使用 `isnull()` 进行空值检测
- 比较来自文本文件的字符串时需注意回车符 (`\r`) 和换行符 (`\n`),使用 [fread](fread) 读取时会包含这些特殊字符
比较来自文本文件的字符串时需注意回车符 (`\r`) 和换行符 (`\n`),使用 [fread](fread) 读取时会包含这些特殊字符

:::

Expand Down