-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update fil translation structure * add acos.md fil translation * add AddCharModel.md fil translation * add AddMenuItem.md fil translation * add AddPlayerClass.md fil translation * add AddPlayerClassEx.md fil translation * add AddSimpleModel.md fil translation * add AddSimpleModelTimed.md fil translation * add AddStaticPickup.md fil translation * add AddStaticVehicle.md fil translation * add AddStaticVehicleEx.md fil translation * add AddVehicleComponent.md fil translation * add AllowAdminTeleport.md fil translation * add AllowInteriorWeapons.md fil translation * add AllowPlayerTeleport.md fil translation * add ApplyActorAnimation.md fil translation * add ApplyAnimation.md fil translation * add Attach3DTextLabelToPlayer.md fil translation * move Attach3DTextLabelToPlayer.md fil translation * move Attach3DTextLabelToPlayer.md and OnActorStreamIn.md fil translation * update fil translation * add Attach3DTextLabelToVehicle.md fil translation * add AttachCameraToObject.md fil translation * add AttachCameraToPlayerObject.md fil translation * add AttachObjectToObject.md fil translation * add Ban.md fil translation * add BanEx.md fil translation * add Kick.md fil translation * add SpawnPlayer.md fil translation * add float.md fil translation * add floatabs.md fil translation * add floatadd.md fil translation * add floatcmp.md fil translation * add floatcos.md fil translation * add floatdiv.md fil translation * add floatfract.md fil translation * add floatlog.md fil translation * add floatpower.md fil translation * add floatround.md fil translation * add floatstr.md fil translation * add OnPlayerSpawn.md fil translation * add OnNPCConnect.md fil translation * add OnNPCDisconnect.md fil translation * add OnNPCEnterVehicle.md fil translation * add OnNPCExitVehicle.md fil translation * add OnNPCSpawn.md fil translation * add OnNPCModeInit.md fil translation * add OnNPCModeExit.md fil translation * add SetMyPos.md fil translation * move SetMyPos.md fil translation * update fil translation * add OnVehicleSpawn.md fil translation * add OnVehicleStreamIn.md fil translation * add OnVehicleStreamOut.md fil translation * add OnClientCheckResponse.md fil translation * add OnPlayerEnterCheckpoint.md fil translation * add BlockIpAddress.md fil translation * add CancelEdit.md fil translation * add CancelSelectTextDraw.md fil translation * add ChangeVehiclePaintjob.md fil translation * add ClearActorAnimations.md fil translation * add ConnectNPC.md fil translation * add IsPlayerNPC.md fil translation * add IsPlayerAdmin.md fil translation * add SendRconCommand.md fil translation * add SetActorHealth.md fil translation * add SetGravity.md fil translation * add GetGravity.md fil translation * add GetObjectModel.md fil translation * add GetPlayerObjectModel.md fil translation * add GetPlayerScore.md fil translation * add SetPlayerScore.md fil translation * add SetPlayerSpecialAction.md fil translation * add SetSVarFloat.md fil translation * add SetWeather.md fil translation * add SetPlayerWeather.md fil translation * add ShowNameTags.md fil translation * add StartRecordingPlayback.md fil translation * add StartRecordingPlayerData.md fil translation * add StopAudioStreamForPlayer.md fil translation * add GetPlayerState.md fil translation * add PauseRecordingPlayback.md fil translation * add ResumeRecordingPlayback.md fil translation * add SetTeamCount.md fil translation * add GetPlayerTeam.md fil translation * add SetPlayerTeam.md fil translation * add EnableVehicleFriendly.md fil translation * add EnableZoneNames.md fil translation * add FindModelFileNameFromCRC.md fil translation * add FindTextureFileNameFromCRC.md fil translation * add ForceClassSelection.md fil translation * add GameModeExit.md fil translation * add EnableStuntBonusForAll.md fil translation * add EnableSuntBonusForPlayer.md fil translation * add setarg.md fil translation * add DestroyMenu.md fil translation * add SetVehicleParamsCarDoors.md fil translation * add DestroyPickup.md fil translation * add EnablePlayerCameraTarget.md fil translation * add GangZoneHideForAll.md fil translation
- Loading branch information
Showing
119 changed files
with
3,776 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
56 changes: 56 additions & 0 deletions
56
docs/translations/fil/scripting/callbacks/OnClientCheckResponse.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,56 @@ | ||
--- | ||
title: OnClientCheckResponse | ||
description: Tinatawag ang callback na ito kapag nakumpleto ang request sa SendClientCheck | ||
tags: [] | ||
--- | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag nakumpleto ang request sa SendClientCheck | ||
|
||
| Name | Description | | ||
| ------------- | --------------------------------- | | ||
| playerid | Ang ID ng player na i-checheck | | ||
| actionid | Ang uri ng pag-checheck na ginawa.| | ||
| memaddr | Ang address requested. | | ||
| retndata | Ang resulta ng pag check | | ||
|
||
## Returns | ||
|
||
Palaging una itong tinatawag sa mga filterscript. | ||
|
||
## Examples | ||
|
||
```c | ||
public OnPlayerConnect(playerid) | ||
{ | ||
SendClientCheck(playerid, 0x48, 0, 0, 2); | ||
return 1; | ||
} | ||
|
||
public OnClientCheckResponse(playerid, actionid, memaddr, retndata) | ||
{ | ||
if(actionid == 0x48) // or 72 | ||
{ | ||
print("WARNING: The player doesn't seem to be using a regular computer!"); | ||
Kick(playerid); | ||
} | ||
return 1; | ||
} | ||
``` | ||
## Notes | ||
:::warning | ||
**SA:MP Server**: Ang callback na ito ay tinatawag lamang kapag ito ay nasa isang filterscript. | ||
**Open Multiplayer Server**: Ang callback na ito ay normal na gumagana sa loob ng isang gamemode / filterscript. | ||
::: | ||
## Related Functions | ||
Maaaring maging kapaki-pakinabang ang sumusunod na function, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [SendClientCheck](../functions/SendClientCheck): Magsagawa ng memory check sa client. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,32 @@ | ||
--- | ||
title: OnNPCConnect | ||
description: Tinatawag ang callback na ito kapag matagumpay na nakakonekta ang isang NPC sa server. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag matagumpay na nakakonekta ang isang NPC sa server. | ||
|
||
| Name | Description | | ||
| ------------ | -------------------------------------------------- | | ||
| myplayerid | Ang playerid na binigay sa NPC | | ||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCConnect(myplayerid) | ||
{ | ||
printf("I successfully connected the server with ID %i!", myplayerid); | ||
} | ||
``` | ||
## Related Callbacks | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [OnNPCDisconnect](OnNPCDisconnect): Ang callback na ito ay tinatawag kapag ang NPC ay nadiskonekta sa server. | ||
- [OnPlayerConnect](OnPlayerConnect): Tinatawag ang callback na ito kapag kumonekta ang isang player sa server. | ||
- [OnPlayerDisconnect](OnPlayerDisconnect): Ang callback na ito ay tinatawag kapag ang isang manlalaro ay umalis sa server. |
32 changes: 32 additions & 0 deletions
32
docs/translations/fil/scripting/callbacks/OnNPCDisconnect.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,32 @@ | ||
--- | ||
title: OnNPCDisconnect | ||
description: Ang callback na ito ay tinatawag kapag ang NPC ay nadiskonekta sa server. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Ang callback na ito ay tinatawag kapag ang NPC ay nadiskonekta sa server. | ||
|
||
| Name | Description | | ||
| ------------ | ------------------------------------------------------- | | ||
| reason[] | Ang dahilan kung bakit nadiskonekta ang bot sa server | | ||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCDisconnect(reason[]) | ||
{ | ||
printf("Disconnected from the server. %s", reason); | ||
} | ||
``` | ||
## Related Callbacks | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [OnNPCConnect](OnNPCConnect): Tinatawag ang callback na ito kapag matagumpay na nakakonekta ang NPC sa server. | ||
- [OnPlayerDisconnect](OnPlayerDisconnect): Ang callback na ito ay tinatawag kapag ang isang manlalaro ay umalis sa server. | ||
- [OnPlayerConnect](OnPlayerConnect): Tinatawag ang callback na ito kapag kumonekta ang isang player sa server. |
32 changes: 32 additions & 0 deletions
32
docs/translations/fil/scripting/callbacks/OnNPCEnterVehicle.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,32 @@ | ||
--- | ||
title: OnNPCEnterVehicle | ||
description: Ang callback na ito ay tinatawag kapag ang isang NPC ay sumakay sa isang sasakyan. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Ang callback na ito ay tinatawag kapag ang isang NPC ay sumakay sa isang sasakyan. | ||
|
||
| Name | Description | | ||
| ------------ | ------------------------------------------------------- | | ||
| vehicleid | Ang vehicle id na sinakyan ng NPC | | ||
| seatid | Ang seatid na ginamit ng NPC | | ||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCEnterVehicle(vehicleid, seatid) | ||
{ | ||
printf("OnNPCEnterVehicle ID: %d Seat: %d", vehicleid, seatid); | ||
return 1; | ||
} | ||
``` | ||
## Related Callbacks | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [OnNPCExitVehicle](OnNPCExitVehicle): Ang callback na ito ay tinatawag kapag ang isang NPC ay umalis sa isang Sasakyan. |
27 changes: 27 additions & 0 deletions
27
docs/translations/fil/scripting/callbacks/OnNPCExitVehicle.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,27 @@ | ||
--- | ||
title: OnNPCExitVehicle | ||
description: Ang callback na ito ay tinatawag kapag ang isang NPC ay umalis sa isang sasakyan. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Ang callback na ito ay tinatawag kapag ang isang NPC ay umalis sa isang sasakyan. | ||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCExitVehicle() | ||
{ | ||
print("The NPC left the vehicle"); | ||
return 1; | ||
} | ||
``` | ||
|
||
## Related Callbacks | ||
|
||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
|
||
- [OnNPCEnterVehicle](OnNPCEnterVehicle): Ang callback na ito ay tinatawag kapag ang isang NPC ay sumakay sa isang sasakyan. |
29 changes: 29 additions & 0 deletions
29
docs/translations/fil/scripting/callbacks/OnNPCModeExit.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,29 @@ | ||
--- | ||
title: OnNPCModeExit | ||
description: Tinatawag ang callback na ito kapag nag-unload ang isang NPC script. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag nag-unload ang isang NPC script. | ||
|
||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCModeExit() | ||
{ | ||
print("NPC script unloaded"); | ||
return 1; | ||
} | ||
``` | ||
|
||
|
||
## Related Callbacks | ||
|
||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
|
||
- [OnNPCModeInit](OnNPCModeInit): Tinatawag ang callback na ito kapag nag-load ang isang NPC script. |
28 changes: 28 additions & 0 deletions
28
docs/translations/fil/scripting/callbacks/OnNPCModeInit.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,28 @@ | ||
--- | ||
title: OnNPCModeInit. | ||
description: Tinatawag ang callback na ito kapag na-load ang isang NPC script. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag na-load ang isang NPC script. | ||
|
||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCModeInit() | ||
{ | ||
print("NPC script loaded."); | ||
return 1; | ||
} | ||
``` | ||
|
||
## Related Callbacks | ||
|
||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
|
||
- [OnNPCModeExit](OnNPCModeExit): Tinatawag ang callback na ito kapag nag-unload ang isang NPC script. |
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,23 @@ | ||
--- | ||
title: OnNPCSpawn | ||
description: Tinatawag ang callback na ito kapag nagkaroon ng NPC. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag nagkaroon ng NPC. | ||
|
||
|
||
## Examples | ||
|
||
```c | ||
public OnNPCSpawn() | ||
{ | ||
print("NPC spawned"); | ||
SendChat("Hello World. I'm a bot."); | ||
return 1; | ||
} | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
59 changes: 59 additions & 0 deletions
59
docs/translations/fil/scripting/callbacks/OnPlayerEnterCheckpoint.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,59 @@ | ||
--- | ||
title: OnPlayerEnterCheckpoint | ||
description: Tinatawag ang callback na ito kapag pumasok ang isang player sa checkpoint set para sa player na iyon. | ||
tags: ["player", "checkpoint"] | ||
--- | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag pumasok ang isang player sa checkpoint set para sa player na iyon. | ||
|
||
| Name | Description | | ||
| -------- | -------------------------------------- | | ||
| playerid | Ang player na pumasok sa checkpoint | | ||
|
||
## Returns | ||
|
||
Palaging una itong tinatawag sa mga filterscript. | ||
|
||
## Examples | ||
|
||
```c | ||
//Sa halimbawang ito, isang checkpoint ang ginawa para sa player kapag nag-spawn, | ||
//na lumilikha ng sasakyan at hindi pinapagana ang checkpoint. | ||
public OnPlayerSpawn(playerid) | ||
{ | ||
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); | ||
return 1; | ||
} | ||
|
||
public OnPlayerEnterCheckpoint(playerid) | ||
{ | ||
CreateVehicle(520, 1982.6150, -221.0145, -0.2432, 82.2873, -1, -1, 60000); | ||
DisablePlayerCheckpoint(playerid); | ||
return 1; | ||
} | ||
``` | ||
## Notes | ||
<TipNPCCallbacks /> | ||
## Related Callbacks | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [OnPlayerLeaveCheckpoint](OnPlayerLeaveCheckpoint): Ang callback na ito ay tinatawag kapag ang isang player ay umalis sa isang checkpoint. | ||
- [OnPlayerEnterRaceCheckpoint](OnPlayerEnterRaceCheckpoint): Ang callback na ito ay tinatawag kapag ang player manlalaro ay pumasok sa isang race checkpoint. | ||
- [OnPlayerLeaveRaceCheckpoint](OnPlayerLeaveRaceCheckpoint): Ang callback na ito ay tinatawag kapag ang player manlalaro ay umalis sa isang race checkpoint. | ||
## Related Functions | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na function, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [SetPlayerCheckpoint](../functions/SetPlayerCheckpoint): Gumawa ng checkpoint para sa isang player. | ||
- [DisablePlayerCheckpoint](../functions/DisablePlayerCheckpoint): Huwag paganahin ang kasalukuyang checkpoint ng player. | ||
- [IsPlayerInCheckpoint](../functions/IsPlayerInRaceCheckpoint): Suriin kung ang isang player ay nasa isang checkpoint. | ||
- [SetPlayerRaceCheckpoint](../functions/SetPlayerRaceCheckpoint): Gumawa ng race checkpoint para sa isang player. | ||
- [DisablePlayerRaceCheckpoint](../functions/DisablePlayerRaceCheckpoint): I-disable ang kasalukuyang race checkpoint ng player. | ||
- [IsPlayerInRaceCheckpoint](../functions/IsPlayerInRaceCheckpoint): Suriin kung ang isang player ay nasa isang checkpoint ng karera. |
File renamed without changes.
File renamed without changes.
58 changes: 58 additions & 0 deletions
58
docs/translations/fil/scripting/callbacks/OnPlayerSpawn.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,58 @@ | ||
--- | ||
title: OnPlayerSpawn | ||
description: Tinatawag ang callback na ito kapag nag-spawn ang isang player. | ||
tags: ["player"] | ||
--- | ||
|
||
## Description | ||
|
||
Tinatawag ang callback na ito kapag nag-spawn ang isang player.(i.e. pagkatapos i-cal ang [SpawnPlayer](../functions/SpawnPlayer) function) | ||
|
||
| Name | Description | | ||
| -------- | ---------------------------------- | | ||
| playerid | Ang ID ng player na nag-spawn | | ||
|
||
## Returns | ||
|
||
0 - Pipigilan ang ibang mga filterscript na matanggap ang callback na ito. | ||
|
||
1 - Isinasaad na ang callback na ito ay ipapasa sa susunod na filterscript. | ||
|
||
Palaging una itong tinatawag sa mga filterscript. | ||
|
||
## Examples | ||
|
||
```c | ||
public OnPlayerSpawn(playerid) | ||
{ | ||
new PlayerName[MAX_PLAYER_NAME], | ||
string[40]; | ||
GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); | ||
format(string, sizeof(string), "%s has spawned successfully.", PlayerName); | ||
SendClientMessageToAll(0xFFFFFFFF, string); | ||
return 1; | ||
} | ||
``` | ||
## Notes | ||
:::tip | ||
Ang laro ay minsan ay nagbabawas ng \$100 mula sa mga manlalaro pagkatapos ng spawn. | ||
::: | ||
## Related Callbacks | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na callback, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [OnPlayerDeath](OnPlayerDeath): Tinatawag ang callback na ito kapag namatay ang isang player. | ||
- [OnVehicleSpawn](OnVehicleSpawn): Ang callback na ito ay tinatawag kapag ang isang sasakyan ay respawn. | ||
## Related Functions | ||
Maaaring maging kapaki-pakinabang ang mga sumusunod na function, dahil nauugnay ang mga ito sa callback na ito sa isang paraan o iba pa. | ||
- [SpawnPlayer](../functions/SpawnPlayer): Pilitin ang isang manlalaro na mag-spawn. | ||
- [AddPlayerClass](../functions/AddPlayerClass): Mag add ng class. | ||
- [SetSpawnInfo](../functions/SetSpawnInfo): I-set ang spawn setting para sa player. |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.