Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrin-John-Olaer-Manalansan authored Feb 28, 2025
1 parent cad1dc6 commit a71311e
Show file tree
Hide file tree
Showing 25 changed files with 32 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sa/docs/SAMP_CLOSE_CURRENT_DIALOG_WITH_BUTTON.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* This command will send SampRpc.DialogResponse to the Server as well.
* Can be used as a condition which evaluates as true if the dialog is opened before being closed by this command.
* Most servers commonly interprets:
* buttonid = 0 as cancel/no/reject
* buttonid = 1 as submit/yes/accept
2 changes: 2 additions & 0 deletions sa/docs/SAMP_CONNECT_TO_SERVER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Our client will force disconnect to the currently connected server.
* You can use domain name instead of ip address
1 change: 1 addition & 0 deletions sa/docs/SAMP_CREATE_3D_TEXT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Can be used as a condition which evaluated as true if the 3D Text has been created
* color variable must be in 0xAARRGGBB format.
* If this 3D text is attached to something, then the coord variables (coordx, coordy, coordz) must be offsets relative to this entity's position.
* If this 3D text isn't attached to something, then the coord variables (coordx, coordy, coordz) must be the 3D coordinates at the world where we want it to appear.
Expand Down
1 change: 1 addition & 0 deletions sa/docs/SAMP_DESTROY_3D_TEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if the 3D text existed before being destroyed
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_ANIMATION_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition that returns false if the provided filename and animname has no corresponding animid
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_ANIMATION_NAME.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if animid is valid
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_CURRENT_DIALOG_EDITBOX_TEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if a dialog is opened and has an edit style attribute
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_CURRENT_DIALOG_LIST_ITEM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if a dialog is opened and has a list style attribute
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_CURRENT_SERVER_ADDRESS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The server ip written to the string buffer is always in ip address format (not in domain name format)
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_ID_OF_LAST_OPENED_DIALOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition that evaluates as false if no dialog has been opened since the start of the game
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_ITEMS_COUNT_OF_LAST_OPENED_DIALOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as false if, the dialog does not have a list style attribute, or no dialog has been opened since the start of the game
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_LISTBOX_ITEM_TEXT_OF_DIALOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if a dialog is opened with valid itemid
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_OBJECT_BY_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if the object is streamed
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_OBJECT_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true it's from the SAMP Object Pool
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_PARAMS_OF_LAST_TRIGGERED_COMMAND.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
When used as a logical condition, this command is evaluated as true if parameters were provided after the command keyword
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_PICKUP_BY_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if the pickup is streamed
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_PICKUP_ID.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true it's from the SAMP Pickup Pool
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_PLAYER_ANIMATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if the player is streamed
1 change: 1 addition & 0 deletions sa/docs/SAMP_GET_TYPE_OF_LAST_OPENED_DIALOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition that evaluates as false if no dialog has been opened since the start of the game
1 change: 1 addition & 0 deletions sa/docs/SAMP_SELECT_LIST_ITEM_FROM_CURRENT_DIALOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if the dialog is opened, has a list style attribute, and has that itemid
2 changes: 2 additions & 0 deletions sa/docs/SAMP_SEND_DAMAGE_CAR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* This command updates the server about the component damage flags of a specified car, but this does not mean that this car has the actual damage(Fake RPC).
* Damage Flags are bitfields. Where for each bitfield, 0 = functional, 1 = damaged.
1 change: 1 addition & 0 deletions sa/docs/SAMP_SEND_ENTER_CAR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This opcode does not instruct our character to actually enter the car(Fake RPC). Execute Opcode 05CA or Opcode 05CB separately to do so
1 change: 1 addition & 0 deletions sa/docs/SAMP_SEND_EXIT_CAR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This opcode does not instruct our character to actually exit the car(Fake RPC). Execute Opcode 05CD/0633/05CF/09F6 separately to do so
2 changes: 2 additions & 0 deletions sa/docs/SAMP_SEND_SPAWN_TO_SERVER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Unlike opcode 0AF6, this does opcode does not actually teleport our Player Character to Spawn(Fake RPC).
* Fact: Our client naturally sends this RPC, 2 seconds before our player spawns automatically.
1 change: 1 addition & 0 deletions sa/docs/SAMP_SET_CURRENT_DIALOG_EDITBOX_TEXT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as true if a dialog is opened and has an edit style attribute

0 comments on commit a71311e

Please sign in to comment.