text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
package pawndex import ( "fmt" "net/http" "github.com/go-chi/chi" "github.com/openmultiplayer/web/internal/web" ) func (s *service) get(w http.ResponseWriter, r *http.Request) { user := chi.URLParam(r, "user") repo := chi.URLParam(r, "repo") p, exists, err := s.store.Get(fmt.Sprintf("%s/%s", user, repo)) if...
openmultiplayer/web/app/transports/api/pawndex/h_get.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/pawndex/h_get.go", "repo_id": "openmultiplayer", "token_count": 211 }
282
package users import ( "crypto/md5" "encoding/hex" "errors" "fmt" "io" "net/http" "github.com/go-chi/chi" "github.com/openmultiplayer/web/internal/web" ) func (s *service) image(w http.ResponseWriter, r *http.Request) { id := chi.URLParam(r, "id") user, err := s.repo.GetUser(r.Context(), id, false) if er...
openmultiplayer/web/app/transports/api/users/h_image.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/users/h_image.go", "repo_id": "openmultiplayer", "token_count": 334 }
283
--- title: OnActorStreamIn description: This callback is called when an actor is streamed in by a player's client. tags: ["actor"] --- <VersionWarn name='callback' version='SA-MP 0.3.7' /> ## Description This callback is called when an actor is streamed in by a player's client. | Name | Description ...
openmultiplayer/web/docs/scripting/callbacks/OnActorStreamIn.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnActorStreamIn.md", "repo_id": "openmultiplayer", "token_count": 388 }
284
--- title: OnNPCModeInit. description: This callback is called when a NPC script is loaded. tags: ["npc"] --- ## Description This callback is called when a NPC script is loaded. ## Examples ```c public OnNPCModeInit() { print("NPC script loaded."); return 1; } ``` ## Related Callbacks The following callb...
openmultiplayer/web/docs/scripting/callbacks/OnNPCModeInit.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnNPCModeInit.md", "repo_id": "openmultiplayer", "token_count": 150 }
285
--- title: OnPlayerEditObject description: This callback is called when a player finishes editing an object (BeginObjectEditing/BeginPlayerObjectEditing). tags: ["player", "object"] --- ## Description This callback is called when a player finishes editing an object ([BeginObjectEditing](../functions/BeginObjectEditin...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerEditObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerEditObject.md", "repo_id": "openmultiplayer", "token_count": 1659 }
286
--- title: OnPlayerLeaveRaceCheckpoint description: This callback is called when a player leaves the race checkpoint. tags: ["player", "checkpoint", "racecheckpoint"] --- ## Description This callback is called when a player leaves the race checkpoint. | Name | Description ...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerLeaveRaceCheckpoint.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerLeaveRaceCheckpoint.md", "repo_id": "openmultiplayer", "token_count": 521 }
287
--- title: OnPlayerText description: This callback is called when a player sends a chat message. tags: ["player"] --- ## Description This callback is called when a player sends a chat message. | Name | Description | | -------- | ---------------------------------------- | | playerid |...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerText.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerText.md", "repo_id": "openmultiplayer", "token_count": 439 }
288
--- title: OnVehicleStreamIn description: This callback is called when a vehicle is streamed to a player's client. tags: ["vehicle"] --- ## Description This callback is called when a vehicle is streamed to a player's client. | Name | Description | | ----------- | ---...
openmultiplayer/web/docs/scripting/callbacks/OnVehicleStreamIn.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnVehicleStreamIn.md", "repo_id": "openmultiplayer", "token_count": 373 }
289
--- title: AllowPlayerTeleport description: Enable/Disable the teleporting ability for a player by right-clicking on the map. tags: ["player"] --- :::warning This function, as of 0.3d, is deprecated. Check [OnPlayerClickMap](../callbacks/OnPlayerClickMap). ::: ## Description Enable/Disable the teleporting ability ...
openmultiplayer/web/docs/scripting/functions/AllowPlayerTeleport.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AllowPlayerTeleport.md", "repo_id": "openmultiplayer", "token_count": 393 }
290
--- title: AttachPlayerObjectToVehicle description: Attach a player object to a vehicle. tags: ["player", "object", "playerobject", "vehicle"] --- ## Description Attach a player object to a vehicle. | Name | Description | | --------------- | ---------------------------...
openmultiplayer/web/docs/scripting/functions/AttachPlayerObjectToVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AttachPlayerObjectToVehicle.md", "repo_id": "openmultiplayer", "token_count": 985 }
291
--- title: ClearActorAnimations description: Clear any animations applied to an actor. tags: ["actor"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Clear any animations applied to an actor. | Name | Description | | ------- ...
openmultiplayer/web/docs/scripting/functions/ClearActorAnimations.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/ClearActorAnimations.md", "repo_id": "openmultiplayer", "token_count": 372 }
292
--- title: CreatePlayerPickup description: Creates a pickup which will be visible to only one player. tags: ["player", "pickup", "playerpickup"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Creates a pickup which will be visible to only one player. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/CreatePlayerPickup.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/CreatePlayerPickup.md", "repo_id": "openmultiplayer", "token_count": 1527 }
293
--- title: DisableMenu description: Disable a menu. tags: ["menu"] --- ## Description Disable a menu. | Name | Description | | ----------- | ------------------------------ | | Menu:menuid | The ID of the menu to disable. | ## Returns This function does not return any specific values. ## ...
openmultiplayer/web/docs/scripting/functions/DisableMenu.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/DisableMenu.md", "repo_id": "openmultiplayer", "token_count": 419 }
294
--- title: EnableZoneNames description: This function allows to turn on zone / area names such as the "Vinewood" or "Doherty" text at the bottom-right of the screen as they enter the area. tags: [] --- ## Description This function allows to turn on zone / area names such as the "Vinewood" or "Doherty" text at the bot...
openmultiplayer/web/docs/scripting/functions/EnableZoneNames.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/EnableZoneNames.md", "repo_id": "openmultiplayer", "token_count": 408 }
295
--- title: GangZoneHideForPlayer description: Hides a gangzone for a player. tags: ["player", "gangzone"] --- ## Description Hides a gangzone for a player. | Name | Description | | -------- | ---------------------------------------------- | | playerid | The ID of the player to ...
openmultiplayer/web/docs/scripting/functions/GangZoneHideForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GangZoneHideForPlayer.md", "repo_id": "openmultiplayer", "token_count": 563 }
296
--- title: GetActorPoolSize description: Gets the highest actorid created on the server. tags: ["actor"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Gets the highest actorid created on the server. Note that in SA:MP this function is broken and will return `0` even when there are no actors. fixes.inc a...
openmultiplayer/web/docs/scripting/functions/GetActorPoolSize.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetActorPoolSize.md", "repo_id": "openmultiplayer", "token_count": 299 }
297
--- title: GetMaxPlayers description: Returns the maximum number of players that can join the server, as set by the server variable 'maxplayers' in server. tags: ["player"] --- ## Description Returns the maximum number of players that can join the server, as set by the server variable 'max_players' in config.json. #...
openmultiplayer/web/docs/scripting/functions/GetMaxPlayers.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetMaxPlayers.md", "repo_id": "openmultiplayer", "token_count": 264 }
298
--- title: GetObjectModel description: Get the model ID of an object (CreateObject). tags: ["object"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Get the model ID of an object ([CreateObject](CreateObject)). | Name | Description | | -------- | --------------------------...
openmultiplayer/web/docs/scripting/functions/GetObjectModel.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetObjectModel.md", "repo_id": "openmultiplayer", "token_count": 305 }
299
--- title: GetPlayerArmour description: This function stores the armour of a player into a variable. tags: ["player"] --- ## Description This function stores the armour of a player into a variable. | Name | Description | | ------------- | -----------------------...
openmultiplayer/web/docs/scripting/functions/GetPlayerArmour.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerArmour.md", "repo_id": "openmultiplayer", "token_count": 501 }
300
--- title: GetPlayerColor description: Gets the color of the player's name and radar marker. tags: ["player"] --- ## Description Gets the color of the player's name and radar marker. Only works after SetPlayerColor. | Name | Description | | -------- | -------------------------------...
openmultiplayer/web/docs/scripting/functions/GetPlayerColor.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerColor.md", "repo_id": "openmultiplayer", "token_count": 353 }
301
--- title: GetPlayerLandingGearState description: Gets the landing gear state of the current player's vehicle. tags: ["player", "vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the [landing gear state](../resources/landinggearstate) of the current player's vehicle. ## Parameters | Name ...
openmultiplayer/web/docs/scripting/functions/GetPlayerLandingGearState.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerLandingGearState.md", "repo_id": "openmultiplayer", "token_count": 227 }
302
--- title: GetPlayerObjectMovingTargetPos description: Get the move target position of a player-object. tags: ["player", "object", "playerobject"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the move target position of a player-object. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMovingTargetPos.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMovingTargetPos.md", "repo_id": "openmultiplayer", "token_count": 634 }
303
--- title: GetPlayerSirenState description: Gets the siren state of the player's vehicle. tags: ["player", "vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the siren state of the player's vehicle. ## Parameters | Name | Description | |----------|-----------------------| | ...
openmultiplayer/web/docs/scripting/functions/GetPlayerSirenState.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerSirenState.md", "repo_id": "openmultiplayer", "token_count": 449 }
304
--- title: GetPlayerVehicleID description: This function gets the ID of the vehicle the player is currently in. tags: ["player", "vehicle"] --- ## Description This function gets the ID of the vehicle the player is currently in. **Note:** NOT the model id of the vehicle. See [GetVehicleModel](GetVehicleModel) for tha...
openmultiplayer/web/docs/scripting/functions/GetPlayerVehicleID.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerVehicleID.md", "repo_id": "openmultiplayer", "token_count": 382 }
305
--- title: GetSVarInt description: Gets an integer server variable's value. tags: ["server variable", "svar"] --- <VersionWarn version='SA-MP 0.3.7 R2' /> ## Description Gets an integer server variable's value. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetSVarInt.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetSVarInt.md", "repo_id": "openmultiplayer", "token_count": 425 }
306
--- title: GetVehicleComponentInSlot description: Retrieves the installed component ID (modshop mod(ification)) on a vehicle in a specific slot. tags: ["vehicle"] --- ## Description Retrieves the installed component ID (modshop mod(ification)) on a vehicle in a specific slot. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetVehicleComponentInSlot.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleComponentInSlot.md", "repo_id": "openmultiplayer", "token_count": 831 }
307
--- title: GetVehicleOccupiedTick description: Get the occupied tick of a vehicle. tags: ["vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the occupied tick of a vehicle. ## Parameters | Name | Description | |-----------|------------------------| | vehicleid | The ID of t...
openmultiplayer/web/docs/scripting/functions/GetVehicleOccupiedTick.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleOccupiedTick.md", "repo_id": "openmultiplayer", "token_count": 275 }
308
--- title: GetVehicleTrainSpeed description: Gets the speed of the train. tags: ["vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the speed of the train. ## Parameters | Name | Description | |-----------|------------------------| | vehicleid | The ID of the vehicle. | #...
openmultiplayer/web/docs/scripting/functions/GetVehicleTrainSpeed.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleTrainSpeed.md", "repo_id": "openmultiplayer", "token_count": 179 }
309
--- title: HideGameTextForAll description: Stop showing a gametext style for all players. tags: ["player", "gametext"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Stop showing a gametext style for all players. | Name | Description | | ...
openmultiplayer/web/docs/scripting/functions/HideGameTextForAll.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/HideGameTextForAll.md", "repo_id": "openmultiplayer", "token_count": 449 }
310
--- title: IsMenuDisabled description: Checks if a menu is disabled. tags: ["menu"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Checks if a menu is disabled. | Name | Description | | ----------- | ---------------------------- | | Menu:menuid | The ID of the menu to check. | ...
openmultiplayer/web/docs/scripting/functions/IsMenuDisabled.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsMenuDisabled.md", "repo_id": "openmultiplayer", "token_count": 185 }
311
--- title: IsPlayerGangZoneVisible description: Check if the player gangzone is visible. tags: ["player", "gangzone", "playergangzone"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Check if the player gangzone is visible. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/IsPlayerGangZoneVisible.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerGangZoneVisible.md", "repo_id": "openmultiplayer", "token_count": 956 }
312
--- title: IsPlayerStreamedIn description: Checks if a player is streamed in another player's client. tags: ["player"] --- ## Description Checks if a player is streamed in another player's client. | Name | Description | | ----------- | ------------------------...
openmultiplayer/web/docs/scripting/functions/IsPlayerStreamedIn.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerStreamedIn.md", "repo_id": "openmultiplayer", "token_count": 575 }
313
--- title: KillTimer description: Kills (stops) a running timer. tags: ["timer"] --- ## Description Kills (stops) a running timer. | Name | Description | | ------- | ----------------------------------------------------------------- | | timerid | The ID of the ...
openmultiplayer/web/docs/scripting/functions/KillTimer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/KillTimer.md", "repo_id": "openmultiplayer", "token_count": 463 }
314
--- title: PauseRecordingPlayback description: This will pause playing back the recording. tags: [] --- ## Description This will pause playing back the recording. ## Related Functions - [ResumeRecordingPlayback](../functions/ResumeRecordingPlayback): Resumes the recording if its paused.
openmultiplayer/web/docs/scripting/functions/PauseRecordingPlayback.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PauseRecordingPlayback.md", "repo_id": "openmultiplayer", "token_count": 77 }
315
--- title: PlayerTextDrawBackgroundColor description: Adjust the background color of a player-textdraw. tags: ["player", "textdraw", "playertextdraw"] --- ## Description Adjust the background color of a player-textdraw. | Name | Description |...
openmultiplayer/web/docs/scripting/functions/PlayerTextDrawBackgroundColor.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawBackgroundColor.md", "repo_id": "openmultiplayer", "token_count": 889 }
316
--- title: PlayerTextDrawGetLetterSize description: Gets the width and height of the letters. tags: ["player", "textdraw", "playertextdraw"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the width and height of the letters. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetLetterSize.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetLetterSize.md", "repo_id": "openmultiplayer", "token_count": 982 }
317
--- title: RemovePlayerFromVehicle description: Removes/ejects a player from their vehicle. tags: ["player", "vehicle"] --- ## Description Removes/ejects a player from their vehicle. | Name | Description | | ---------- | ----------------------------------------------...
openmultiplayer/web/docs/scripting/functions/RemovePlayerFromVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/RemovePlayerFromVehicle.md", "repo_id": "openmultiplayer", "token_count": 487 }
318
--- title: SendClientMessageToAllf description: Displays a formatted message in chat to all players. tags: [] --- <VersionWarn version='open.mp beta build 6' /> :::warning This function was deprecated. [SendClientMessageToAll](SendClientMessageToAll) function now is built-in with format! ::: ## Description Displ...
openmultiplayer/web/docs/scripting/functions/SendClientMessageToAllf.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SendClientMessageToAllf.md", "repo_id": "openmultiplayer", "token_count": 413 }
319
--- title: SetActorVirtualWorld description: Set the virtual world of an actor. tags: ["actor"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Set the virtual world of an actor. Only players in the same world will see the actor. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/SetActorVirtualWorld.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetActorVirtualWorld.md", "repo_id": "openmultiplayer", "token_count": 414 }
320
--- title: SetObjectRot description: Set the rotation of an object on the three axes (X, Y and Z). tags: ["object"] --- ## Description Set the rotation of an object on the three axes (X, Y and Z). | Name | Description | | --------------- | ---------------------------------...
openmultiplayer/web/docs/scripting/functions/SetObjectRot.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetObjectRot.md", "repo_id": "openmultiplayer", "token_count": 736 }
321
--- title: SetPlayerAttachedObject description: Attach an object to a specific bone on a player. tags: ["player", "object", "attachment"] --- ## Description Attach an object to a specific bone on a player. | Name | Description | | --...
openmultiplayer/web/docs/scripting/functions/SetPlayerAttachedObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerAttachedObject.md", "repo_id": "openmultiplayer", "token_count": 1407 }
322
--- title: SetPlayerSkillLevel description: Set the skill level of a certain weapon type for a player. tags: ["player"] --- ## Description Set the skill level of a certain weapon type for a player. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/SetPlayerSkillLevel.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerSkillLevel.md", "repo_id": "openmultiplayer", "token_count": 608 }
323
--- title: SetTeamCount description: This function is used to change the amount of teams used in the gamemode. tags: [] --- ## Description This function is used to change the amount of teams used in the gamemode. It has no obvious way of being used, but can help to indicate the number of teams used for better (more e...
openmultiplayer/web/docs/scripting/functions/SetTeamCount.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetTeamCount.md", "repo_id": "openmultiplayer", "token_count": 291 }
324
--- title: SpawnPlayer description: (Re)Spawns a player. tags: ["player"] --- ## Description (Re)Spawns a player. | Name | Description | | -------- | ------------------------------ | | playerid | The ID of the player to spawn. | ## Returns **true** - The function executed successfully. **fa...
openmultiplayer/web/docs/scripting/functions/SpawnPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SpawnPlayer.md", "repo_id": "openmultiplayer", "token_count": 356 }
325
--- title: TextDrawCreate description: Creates a textdraw. tags: ["textdraw"] --- ## Description Creates a textdraw. Textdraws are, as the name implies, text (mainly - there can be boxes, sprites and model previews (skins/vehicles/weapons/objects too) that is drawn on a player's screens. See this page for extensive i...
openmultiplayer/web/docs/scripting/functions/TextDrawCreate.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawCreate.md", "repo_id": "openmultiplayer", "token_count": 1693 }
326
--- title: TextDrawGetPreviewVehCol description: Gets the preview vehicle colors of a 3D preview textdraw. tags: ["textdraw"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the preview vehicle colors of a 3D preview textdraw. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/TextDrawGetPreviewVehCol.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawGetPreviewVehCol.md", "repo_id": "openmultiplayer", "token_count": 578 }
327
--- title: TogglePlayerWidescreen description: Toggle player's widescreen. tags: ["player"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Toggle player's widescreen. | Name | Description | |-----------|--------------------------------------------------| | pla...
openmultiplayer/web/docs/scripting/functions/TogglePlayerWidescreen.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/TogglePlayerWidescreen.md", "repo_id": "openmultiplayer", "token_count": 445 }
328
--- title: argvalue description: Get the number of arguments passed to the script (those after --). tags: ["arguments", "args"] --- ## Description Get the number of arguments passed to the script (those after **--**). | Name | Description | | ---...
openmultiplayer/web/docs/scripting/functions/argvalue.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/argvalue.md", "repo_id": "openmultiplayer", "token_count": 413 }
329
--- title: fcreatedir description: Create a directory. tags: ["file management"] --- <VersionWarn version='omp v1.1.0.2612' /> <LowercaseNote /> ## Description Create a directory. | Name | Description | | --------------- | ----------------------...
openmultiplayer/web/docs/scripting/functions/fcreatedir.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/fcreatedir.md", "repo_id": "openmultiplayer", "token_count": 661 }
330
--- title: floatround description: Round a floating point number to an integer value. tags: ["math", "floating-point"] --- <LowercaseNote /> ## Description Round a floating point number to an integer value. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/floatround.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/floatround.md", "repo_id": "openmultiplayer", "token_count": 528 }
331
--- title: numpubvars description: Counts how many public variables there are in the script. tags: ["core", "pubvar", "public variable"] --- <LowercaseNote /> ## Description Counts how many public variables there are in the script. ## Returns The number of public variables declared. ## Related Functions - [getpu...
openmultiplayer/web/docs/scripting/functions/numpubvars.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/numpubvars.md", "repo_id": "openmultiplayer", "token_count": 150 }
332
--- title: strins description: Insert a string into another string. tags: ["string"] --- <LowercaseNote /> ## Description Insert a string into another string. | Name | Description | | --------------------------- | ------------------------------------------ | | s...
openmultiplayer/web/docs/scripting/functions/strins.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/strins.md", "repo_id": "openmultiplayer", "token_count": 556 }
333
--- title: "Keywords: Statements" --- ## `assert` Aborts execution with a runtime error if the expression evaluates to logically false. Seems to work only in the main() block. The assert statement should be used to indicate a logical(programmer's) error, never a run-time(user's) error. ```c main() { assert (MAX_...
openmultiplayer/web/docs/scripting/language/Statements.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/language/Statements.md", "repo_id": "openmultiplayer", "token_count": 4681 }
334
# Assorted tips --- ### • Working with characters and strings Strings can be in packed or in unpacked format. In the packed format, each cell will typically hold four characters (in common implementations, a cell is 32-bit and a character is 8 bit). In this configuration, the first character in a “pack” of four is t...
openmultiplayer/web/docs/scripting/language/reference/12-Assorted-tips.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/language/reference/12-Assorted-tips.md", "repo_id": "openmultiplayer", "token_count": 6446 }
335
--- title: Crime List description: Crime List used by PlayCrimeReportForPlayer function. sidebar_label: Crime List --- :::info Here you can find all of the crime IDs used by [PlayCrimeReportForPlayer](../functions/PlayCrimeReportForPlayer) function. ::: | Crime ID | Ten-code | Description ...
openmultiplayer/web/docs/scripting/resources/crimelist.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/resources/crimelist.md", "repo_id": "openmultiplayer", "token_count": 1225 }
336
--- description: This page has most of the available interiors in SAMP. sidebar_label: Interiors --- ## How to get the Interior ID --- If you are inside an interior type ```c /interior ``` and you'll see the ID of the interior universe. Now you can safely use [SetPlayerInterior](../functions/SetPlayerInterior) and...
openmultiplayer/web/docs/scripting/resources/interiorids.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/resources/interiorids.md", "repo_id": "openmultiplayer", "token_count": 9951 }
337
--- title: "Svar Types" --- :::info Types of server variables (also called svar types) used by [GetSVarType](../functions/GetSVarType) function. See also: [Server variable system](../../tutorials/servervariablesystem) ::: | ID | Definition | | -- | --------------------- | | 0 | SERVER_VARTYPE_NONE | ...
openmultiplayer/web/docs/scripting/resources/svartypes.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/resources/svartypes.md", "repo_id": "openmultiplayer", "token_count": 169 }
338
--- title: Weapon Slots description: Weapon Slots used by GetWeaponSlot and GetPlayerWeaponData. --- :::info Weapon Slots used by [GetWeaponSlot](../functions/GetWeaponSlot) and [GetPlayerWeaponData](../functions/GetPlayerWeaponData). ::: | Definition | Value | |---------------------------|-------| |...
openmultiplayer/web/docs/scripting/resources/weaponslots.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/resources/weaponslots.md", "repo_id": "openmultiplayer", "token_count": 445 }
339
--- title: OnVehicleSirenStateChange description: يتم إستدعاء هذا الكال باك عند تفعيل صفارة الإنذار للسيارة tags: ["vehicle"] --- <VersionWarn name='callback' version='SA-MP 0.3.7' /> <div dir="rtl" style={{ textAlign: "right" }}> ## Description يتم إستدعاء هذا الكال باك عند تفعيل صفارة الإنذار للسيارة | Name ...
openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleSirenStateChange.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleSirenStateChange.md", "repo_id": "openmultiplayer", "token_count": 1073 }
340
--- title: OnEnterExitModShop description: Ovaj callback se poziva kada igrač uđe ili izađe iz mod shopa. tags: [] --- ## Deskripcija Ovaj callback se poziva kada igrač uđe ili izađe iz mod shopa. | Ime | Deskripcija | | ---------- | -------------------------------...
openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnEnterExitModShop.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnEnterExitModShop.md", "repo_id": "openmultiplayer", "token_count": 526 }
341
--- title: OnPlayerDeath description: Ovaj callback je pozvan kada igrač umre, bilo to samoubistvo ili ubistvo od strane drugog igrača. tags: ["player"] --- ## Deskripcija Ovaj callback je pozvan kada igrač umre, bilo to samoubistvo ili ubistvo od strane drugog igrača. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerDeath.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerDeath.md", "repo_id": "openmultiplayer", "token_count": 1231 }
342
--- title: OnPlayerObjectMoved description: Ovaj callback je pozvana kada player object biva premješten nakon MovePlayerObject funkcije (kada se prestane kretati). tags: ["player"] --- ## Deskripcija Ovaj callback je pozvana kada player object biva premješten nakon MovePlayerObject funkcije (kada se prestane kretati)...
openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerObjectMoved.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerObjectMoved.md", "repo_id": "openmultiplayer", "token_count": 464 }
343
--- title: OnRconLoginAttempt description: Ovaj callback je potvan kada neko pokuša da se uloguje/da pristupi RCONu in-game; uspješno ili ne. tags: [] --- ## Deskripcija Ovaj callback je potvan kada neko pokuša da se uloguje/da pristupi RCONu in-game; uspješno ili ne. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnRconLoginAttempt.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnRconLoginAttempt.md", "repo_id": "openmultiplayer", "token_count": 878 }
344
--- title: AddPlayerClassEx description: Ova funkcija je u potpunosti ista kao i AddPlayerClass funkcija, sa akcentom na 'Tim' parametar. tags: ["player"] --- ## Deskripcija Ova funkcija je u potpunosti ista kao i AddPlayerClass funkcija, sa akcentom na 'Tim' parametar. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/AddPlayerClassEx.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AddPlayerClassEx.md", "repo_id": "openmultiplayer", "token_count": 1169 }
345
--- title: AttachObjectToObject description: Možete koristiti ovu funkciju da prikvačite objekat za drugi objekat. tags: [] --- ## Deskripcija Možete koristiti ovu funkciju da prikvačite objekat za drugi objekat. Objekti će pratiti glavni objekat. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/AttachObjectToObject.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AttachObjectToObject.md", "repo_id": "openmultiplayer", "token_count": 1464 }
346
--- title: ClearAnimations description: Čisti sve animacije koje su date igraču (ovo također zaustavlja trenutne zadatke koji se vrše poput jetpackinga, padobraniranja, ulaženaj u vozila, voženja (ukloni igrača iz vozila), plivanja itd.) tags: [] --- ## Deskripcija Čisti sve animacije koje su date igraču (ovo također...
openmultiplayer/web/docs/translations/bs/scripting/functions/ClearAnimations.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ClearAnimations.md", "repo_id": "openmultiplayer", "token_count": 820 }
347
--- title: DeleteSVar description: Briše prethodno postavljenu server varijablu. tags: [] --- ## Deskripcija Briše prethodno postavljenu server varijablu. | Ime | Deskripcija | | ------- | ------------------------------------------ | | varname | Ime server varijable koju brišemo ...
openmultiplayer/web/docs/translations/bs/scripting/functions/DeleteSVar.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DeleteSVar.md", "repo_id": "openmultiplayer", "token_count": 516 }
348
--- title: EditObject description: Omogućuje igraču da uređuje objekt (položaj i rotaciju) pomoću miša na GUI (grafičko korisničko sučelje / Graphical User Interface). tags: [] --- ## Deskripcija Omogućuje igraču da uređuje objekt (položaj i rotaciju) pomoću miša na GUI (grafičko korisničko sučelje / Graphical User I...
openmultiplayer/web/docs/translations/bs/scripting/functions/EditObject.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/EditObject.md", "repo_id": "openmultiplayer", "token_count": 771 }
349
--- title: GangZoneFlashForAll description: GangZoneFlashForAll treperi gangzonu za sve igrače. tags: ["gangzone"] --- ## Deskripcija GangZoneFlashForAll treperi gangzonu za sve igrače. | Ime | Deskripcija | | -------...
openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneFlashForAll.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneFlashForAll.md", "repo_id": "openmultiplayer", "token_count": 800 }
350
--- title: GetConsoleVarAsString description: Dobij string vrijednost varijable iz konzole. tags: [] --- ## Deskripcija Dobij string vrijednost varijable iz konzole. | Ime | Deskripcija | | --------------- | ---------------------------------------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/GetConsoleVarAsString.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetConsoleVarAsString.md", "repo_id": "openmultiplayer", "token_count": 700 }
351
--- title: GetPlayerSpecialAction description: Dohvaća trenutnu specijalnu akciju igrača. tags: ["player"] --- ## Deskripcija Dohvaća trenutnu specijalnu akciju igrača. | Ime | Deskripcija | | -------- | -------------------------------------- | | playerid | ID igrača za dobiti specija...
openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerSpecialAction.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerSpecialAction.md", "repo_id": "openmultiplayer", "token_count": 351 }
352
--- title: GetPlayerWeaponState description: Provjeri stanje igračevog oružja. tags: ["player"] --- ## Deskripcija Provjeri stanje igračevog oružja. | Ime | Deskripcija | | -------- | ----------------------------------- | | playerid | ID igrača za primiti stanje oružja. | ## Returns St...
openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerWeaponState.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerWeaponState.md", "repo_id": "openmultiplayer", "token_count": 258 }
353
--- title: GetVehicleHealth description: Dobij healthe vozila. tags: ["vehicle"] --- ## Deskripcija Dobij healthe vozila. | Ime | Deskripcija | | ------------- | -------------------------------------------------------------------- | | vehicleid |...
openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleHealth.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleHealth.md", "repo_id": "openmultiplayer", "token_count": 715 }
354
--- title: GivePlayerWeapon description: Dajte igraču oružje sa određenom količinom streljiva. tags: ["player"] --- ## Deskripcija Dajte igraču oružje sa određenom količinom streljiva. | Ime | Deskripcija | | -------- | ---------------------------------- | | playerid | ID igrača za dati o...
openmultiplayer/web/docs/translations/bs/scripting/functions/GivePlayerWeapon.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GivePlayerWeapon.md", "repo_id": "openmultiplayer", "token_count": 397 }
355
--- title: IsPlayerInRangeOfPoint description: Provjerava ako je igrač u dometu/blizini određene tačke. tags: ["player"] --- ## Deskripcija Provjerava ako je igrač u blizinu određene tačke. Ova izvorna funkcija je brža od implementacije PAWN-a koristeći formulu udaljenosti. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInRangeOfPoint.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInRangeOfPoint.md", "repo_id": "openmultiplayer", "token_count": 729 }
356
--- title: LimitPlayerMarkerRadius description: Postavite radijus markera/oznake igrača. tags: ["player"] --- ## Deskripcija Postavite radijus markera igrača. | Ime | Deskripcija | | ------------------- | -------------------------------------------------- | | Fl...
openmultiplayer/web/docs/translations/bs/scripting/functions/LimitPlayerMarkerRadius.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/LimitPlayerMarkerRadius.md", "repo_id": "openmultiplayer", "token_count": 371 }
357
--- title: PlayerPlaySound description: Reprodukuje navedeni zvuk igraču. tags: ["player"] --- ## Deskripcija Reprodukuje navedeni zvuk igraču. Pogledajte library koji sadrži sve zvukove, [ovo](https://github.com/WoutProvost/samp-sound-array). | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerPlaySound.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerPlaySound.md", "repo_id": "openmultiplayer", "token_count": 717 }
358
--- title: PlayerTextDrawSetSelectable description: Omogućuje/onemogućuje da li player-textdraw može biti selektovan ili ne. tags: ["player", "textdraw", "playertextdraw"] --- ## Deskripcija Omogućuje/onemogućuje da li player-textdraw može biti selektovan ili ne. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetSelectable.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetSelectable.md", "repo_id": "openmultiplayer", "token_count": 916 }
359
--- title: SHA256_PassHash description: Hashira lozinku pomoću algoritma heširanja SHA-256. tags: [] --- :::warning Ova funkcija je dodana u SA-MP 0.3.7 R1 i ne radi u nižim verzijama! ::: ## Deskripcija Hashira lozinku pomoću algoritma heširanja SHA-256. Uključuje salt. Izlaz je uvijek 256 bita, ili ekvivalent od...
openmultiplayer/web/docs/translations/bs/scripting/functions/SHA256_PassHash.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SHA256_PassHash.md", "repo_id": "openmultiplayer", "token_count": 783 }
360
--- title: SetDeathDropAmount description: . tags: [] --- ## Deskripcija . | Ime | Deskripcija | | ------ | ----------- | | amount | | ## Returns Ova funkcija ne returna (vraća) nikakve posebne vrijednosti. ## Primjeri ```c public OnGameModeInit() { SetDeathDropAmount(5000); // VIŠE KODA ...
openmultiplayer/web/docs/translations/bs/scripting/functions/SetDeathDropAmount.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetDeathDropAmount.md", "repo_id": "openmultiplayer", "token_count": 273 }
361
--- title: SetPlayerArmedWeapon description: Postavlja koje oružje (koje igrač posjeduje) igrač trenutno drži. tags: ["player"] --- ## Deskripcija Postavlja koje oružje (koje igrač posjeduje) igrač trenutno drži. | Ime | Deskripcija | | -------- | ---------------------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerArmedWeapon.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerArmedWeapon.md", "repo_id": "openmultiplayer", "token_count": 743 }
362
--- title: SetPlayerName description: Postavlja ime igrača. tags: ["player"] --- ## Deskripcija Postavlja ime igrača. | Ime | Deskripcija | | ------------ | ----------------------------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerName.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerName.md", "repo_id": "openmultiplayer", "token_count": 1190 }
363
--- title: SetPlayerTime description: Postavlja vrijeme igre za igrača. tags: ["player"] --- ## Deskripcija Postavlja vrijeme igre za igrača. Ako je sat igrača uključen (TogglePlayerClock) prikazano vrijeme će se automatski ažurirati. | Ime | Deskripcija | | -------- | -----------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerTime.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerTime.md", "repo_id": "openmultiplayer", "token_count": 458 }
364
--- title: SetVehicleParamsCarDoors description: Dozvoljava ti da otvoriš i zatvoriš vrata vozila. tags: ["vehicle"] --- :::warning Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama! ::: ## Deskripcija Dozvoljava ti da otvoriš i zatvoriš vrata vozila. | Ime | Deskripcija ...
openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleParamsCarDoors.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleParamsCarDoors.md", "repo_id": "openmultiplayer", "token_count": 597 }
365
--- title: ShowPlayerNameTagForPlayer description: Ova funkcija ti omogućava da omogućite/onemogućite iscrtavanje nametag-ova, healthbar-pva i armora igrača koji se prikazuju iznad njegove glave. tags: ["player"] --- ## Deskripcija Ova funkcija ti omogućava da omogućite/onemogućite iscrtavanje nametag-ova, healthbar-...
openmultiplayer/web/docs/translations/bs/scripting/functions/ShowPlayerNameTagForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ShowPlayerNameTagForPlayer.md", "repo_id": "openmultiplayer", "token_count": 890 }
366
--- title: TextDrawHideForPlayer description: Sakriva textdraw za određenog igrača. tags: ["player", "textdraw"] --- ## Deskripcija Sakriva textdraw za određenog igrača. | Ime | Deskripcija | | -------- | --------------------------------------------- | | playerid | ID igrača za...
openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawHideForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawHideForPlayer.md", "repo_id": "openmultiplayer", "token_count": 506 }
367
--- title: TogglePlayerControllable description: Uključuje / isključuje da li igrač može kontrolirati svog lika ili ne. tags: ["player"] --- ## Deskripcija Uključuje / isključuje da li igrač može kontrolirati svog lika ili ne. | Ime | Deskripcija | | -------- | ------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/TogglePlayerControllable.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TogglePlayerControllable.md", "repo_id": "openmultiplayer", "token_count": 512 }
368
--- title: db_field_name description: Vraća ime polja u navedenom indeksu. keywords: - sqlite --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Vraća ime polja u navedenom indeksu. | Ime | Deskripcija | | -----------...
openmultiplayer/web/docs/translations/bs/scripting/functions/db_field_name.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/db_field_name.md", "repo_id": "openmultiplayer", "token_count": 2057 }
369
--- title: existproperty description: Provjeri da li imovina postoji. tags: [] --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Provjeri da li imovina postoji. | Ime | Deskripcija | | ------ | -------------------------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/existproperty.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/existproperty.md", "repo_id": "openmultiplayer", "token_count": 519 }
370
--- title: floatpower description: Daje zadanu vrijednost u potenciju eksponenta. tags: [] --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Daje zadanu vrijednost u potenciju eksponenta. | Ime | Deskripcija | | -------- | -...
openmultiplayer/web/docs/translations/bs/scripting/functions/floatpower.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatpower.md", "repo_id": "openmultiplayer", "token_count": 423 }
371
--- title: fwrite description: Napišite tekst u datoteku. tags: [] --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Napišite tekst u datoteku. | Ime | Deskripcija | | ------ | ----------------------------------------------------- | | handle | Upra...
openmultiplayer/web/docs/translations/bs/scripting/functions/fwrite.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fwrite.md", "repo_id": "openmultiplayer", "token_count": 1387 }
372
--- title: random description: Dobij (pseudo-)slučajni broj. tags: [] --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Dobij (pseudo-)slučajni broj. | Ime | Deskripcija | | --- | ------------------------------------------------...
openmultiplayer/web/docs/translations/bs/scripting/functions/random.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/random.md", "repo_id": "openmultiplayer", "token_count": 605 }
373
--- title: tolower description: Ova funkcija mijenja jedan znak u malo slovo. tags: [] --- :::warning Ova funkcija započinje malim slovom. ::: ## Deskripcija Ova funkcija mijenja jedan znak u malo slovo. | Ime | Deskripcija | | --- | ----------------------------------- | | c | Znak za pr...
openmultiplayer/web/docs/translations/bs/scripting/functions/tolower.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/tolower.md", "repo_id": "openmultiplayer", "token_count": 298 }
374
--- title: Vrste Spectate-ovanja description: Vrste Spectate-ovanja korištene za GetPlayerSpectateType. tags: [] sidebar_label: Vrste Spectate-ovanja --- :::info Vrste Spectate-ovanja korištene za [GetPlayerSpectateType](../functions/GetPlayerSpectateType). ::: | Tip | Vrijednost | | ------- | ---------- | | Ni...
openmultiplayer/web/docs/translations/bs/scripting/resources/spectatetypes.md/0
{ "file_path": "openmultiplayer/web/docs/translations/bs/scripting/resources/spectatetypes.md", "repo_id": "openmultiplayer", "token_count": 178 }
375
--- title: AddStaticVehicle description: Fügt ein 'static' vehicle (models werden für den Spieler vorgeladen) zum Gamemode hinzu. tags: ["vehicle"] --- ## Beschreibung Fügt ein 'static' vehicle (models werden für den Spieler vorgeladen) zum Gamemode hinzu. | Name | Beschreibung ...
openmultiplayer/web/docs/translations/de/scripting/functions/AddStaticVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/translations/de/scripting/functions/AddStaticVehicle.md", "repo_id": "openmultiplayer", "token_count": 794 }
376
--- título: OnFilterScriptInit descripción: Este callback se llama cuando un filterscript es inicializado (cargado). tags: [] --- ## Descripción Este callback se llama cuando un filterscript es inicializado (cargado). Solo se llama adentro del filterscript que está siendo iniciado. ## Ejemplos ```c public OnFilterS...
openmultiplayer/web/docs/translations/es/scripting/callbacks/OnFilterScriptInit.md/0
{ "file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnFilterScriptInit.md", "repo_id": "openmultiplayer", "token_count": 173 }
377
--- título: OnPlayerEnterCheckpoint descripción: Este callback se llama cuando un jugador entra al checkpoint establecido para ese jugador. tags: ["player", "checkpoint"] --- ## Descripción Este callback se llama cuando un jugador entra al checkpoint establecido para ese jugador. | Nombre | Descripción ...
openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerEnterCheckpoint.md/0
{ "file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerEnterCheckpoint.md", "repo_id": "openmultiplayer", "token_count": 576 }
378
--- título: OnPlayerRequestSpawn descripción: Se llama cuando un jugador intenta spawnear vía selección de clase ya sea presionando SHIFT o clickeando el botón 'Spawn'. tags: ["player"] --- ## Descripción Se llama cuando un jugador intenta spawnear vía selección de clase ya sea presionando SHIFT o clickeando el botón...
openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerRequestSpawn.md/0
{ "file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerRequestSpawn.md", "repo_id": "openmultiplayer", "token_count": 432 }
379
--- título: OnVehicleDamageStatusUpdate descripción: Este callback se llama cuando un elemento de vehículo como las puertas, llantas, paneles, o luces cambiar su estado de daño. tags: ["vehicle"] --- :::tip Para algunas funciones útiles para trabajar con valores de daños del vehículo, vea [aquí](../resources/damagest...
openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleDamageStatusUpdate.md/0
{ "file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleDamageStatusUpdate.md", "repo_id": "openmultiplayer", "token_count": 777 }
380
--- title: OnNPCDisconnect description: Ang callback na ito ay tinatawag kapag ang NPC ay nadiskonekta sa server. tags: ["npc"] --- ## Description Ang callback na ito ay tinatawag kapag ang NPC ay nadiskonekta sa server. | Name | Description | | ------------ | ----...
openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCDisconnect.md/0
{ "file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCDisconnect.md", "repo_id": "openmultiplayer", "token_count": 396 }
381