-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translated some pages to Bosnian and corrected Custom Skin ID range i…
…n AddCharModel (#821) * Translated OnNPCConnect * I'm an idiot lmao * Translated OnNPCConnect (fixed) * Transalte OnNPCConnect (forgot some things) * ok last time lol * Translated OnNPCDisconnect * Translated OnNPCEnterVehicle * Grammar correction on OnPlayerExitVehicle * Corrected the Custom Skin ID range in AddCharModel * Added adib-yg's correction * Fixed metadata. * Fixed Metadata. * Fixed metadata. * Fixed metadata. * Fixed number of slots in AddCharModel. --------- Co-authored-by: Adib
- Loading branch information
1 parent
287b8ef
commit 7f1122e
Showing
5 changed files
with
99 additions
and
3 deletions.
There are no files selected for viewing
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: Ovaj callback je pozvan kada se NPC konektovao na server. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Deskripcija | ||
|
||
Ovaj callback je pozvan kada se NPC uspješno konektovao na server. | ||
|
||
| Ime | Deskripcija | | ||
| ------------ | -------------------------------------------------- | | ||
| myplayerid | playerid koji je dodijeljen NPC-u. | | ||
|
||
## Primjeri | ||
|
||
```c | ||
public OnNPCConnect(myplayerid) | ||
{ | ||
printf("Uspješno sam se konektovao na server sa ID-em %i!", myplayerid); | ||
} | ||
``` | ||
## Srodne Funkcije | ||
Slijedeći callbackovi mogu biti korisni, zato što su povezani sa ovim callback-om na neki način. | ||
- [OnNPCDisconnect](OnNPCDisconnect): Ovaj callback je pozvan kada se NPC diskonektuje sa servera. | ||
- [OnPlayerConnect](OnPlayerConnect): Ovaj callback je pozvan kada se igrač konektovao na server. | ||
- [OnPlayerDisconnect](OnPlayerDisconnect): Ovaj callback je pozvan kada se igrač diskonektuje sa servera. |
32 changes: 32 additions & 0 deletions
32
docs/translations/bs/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: Ovaj callback je pozvan kada se NPC diskonektuje sa servera. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Deskripcija | ||
|
||
Ovaj callback je pozvan kada se NPC diskonektuje sa servera. | ||
|
||
| Ime | Deskripcija | | ||
| ------------ | ------------------------------------------------------- | | ||
| reason[] | Razlog zašto se NPC diskonektovao sa servera. | | ||
|
||
## Primjeri | ||
|
||
```c | ||
public OnNPCDisconnect(reason[]) | ||
{ | ||
printf("Diskonektan sa servera. %s", reason); | ||
} | ||
``` | ||
## Srodne Funkcije | ||
Slijedeći callbackovi mogu biti korisni, zato što su povezani sa ovim callback-om na neki način. | ||
- [OnNPCConnect](OnNPCConnect): Ovaj callback je pozvan kada se NPC uspješno konektovao na server. | ||
- [OnPlayerDisconnect](OnPlayerDisconnect): Ovaj callback je pozvan kada se igrač diskonektuje sa servera. | ||
- [OnPlayerConnect](OnPlayerConnect): Ovaj callback je pozvan kada se igrač konektovao na server. |
32 changes: 32 additions & 0 deletions
32
docs/translations/bs/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: Ovaj callback je pozvan kada NPC uđe u vozilo. | ||
tags: ["npc"] | ||
--- | ||
|
||
<VersionWarn name='callback' version='SA-MP 0.3a' /> | ||
|
||
## Deskripcija | ||
|
||
Ovaj callback je pozvan kada NPC uđe u vozilo. | ||
|
||
| Ime | Deskripcija | | ||
| ------------ | ------------------------------------------------------- | | ||
| vehicleid | ID vozila u koje NPC ulazi. | | ||
| seatid | ID sjedišta na kojem NPC sjedi. | | ||
|
||
## Primjeri | ||
|
||
```c | ||
public OnNPCEnterVehicle(vehicleid, seatid) | ||
{ | ||
printf("OnNPCEnterVehicle ID: %d Sjedište: %d", vehicleid, seatid); | ||
return 1; | ||
} | ||
``` | ||
## Srodne Funkcije | ||
Slijedeći callbackovi mogu biti korisni, zato što su povezani sa ovim callback-om na neki način. | ||
- [OnNPCExitVehicle](OnNPCExitVehicle): Ovaj callback je pozvan kada NPC izađe iz vozila. |
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
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