-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revised Terminologies: Opcode to Actual Command
- Loading branch information
1 parent
a2c00dd
commit e052586
Showing
13 changed files
with
22 additions
and
14 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 |
---|---|---|
@@ -1 +1 @@ | ||
Take note that the server rounds down the coordinate values for data compression purposes. Meaning that the returned coordinates of this opcode have discrepancies compared to the correct coordinates | ||
The returned coordinates of this command have some discrepancies compared to the correct coordinates because the server rounds down the streamed-out coordinate values sent to our client for data compression purposes. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Take note: Our LOCAL Player is not a REMOTE Player. So Passing the ID of our local player to this opcode will return false | ||
Our LOCAL Player is not a REMOTE Player. So Passing the ID of our local player to this command will return false |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Keep in mind that this command allocates memory, so don't forget to manually destroy this object using opcode 0B3E to free it from memory | ||
This command allocates memory for the object, and needs to be manually destroyed when not used by executing command SAMP_RAKNET_DELETE_BITSTREAM to free it from memory |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Take note that this opcode can only process literal strings. So passing a formatted string with arguments will treat it as a literal string while the passed arguments are ignored | ||
Take note that this command can only process literal strings. So passing a formatted string with arguments will treat it as a literal string while the passed arguments are ignored |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
* This will tell the server that our local player got killed by the specified player using a specific weapon. | ||
* Set PlayerID = 0xFFFF to indicate that our local player died by natural means (falling, drowned/toxicated). | ||
* Take note that this command will not actually kill our local character. Use Opcode 05BE or Opcode 0321 Separately to do so. | ||
* Take note that this command will not actually kill our local character (Fake RPC). Use Separate command to do so, like: | ||
* TASK_DIE | ||
* EXPLODE_CHAR_HEAD |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
This opcode does not instruct our character to actually enter the car(Fake RPC). Execute Opcode 05CA or Opcode 05CB separately to do so | ||
This command does not instruct our character to actually enter the car(Fake RPC). Execute a separate command to do so, like: | ||
* TASK_ENTER_CAR_AS_DRIVER | ||
* TASK_ENTER_CAR_AS_PASSENGER |
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 |
---|---|---|
@@ -1 +1,5 @@ | ||
This opcode does not instruct our character to actually exit the car(Fake RPC). Execute Opcode 05CD/0633/05CF/09F6 separately to do so | ||
This opcode does not instruct our character to actually exit the car(Fake RPC). Execute a separate command to do so, like: | ||
* TASK_LEAVE_CAR | ||
* TASK_LEAVE_ANY_CAR | ||
* TASK_LEAVE_CAR_AND_FLEE | ||
* SET_CHAR_GET_OUT_UPSIDE_DOWN_CAR |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* Unlike opcode 0AF6, this does opcode does not actually teleport our Player Character to Spawn(Fake RPC). | ||
* Unlike SAMP_SPAWN_LOCAL_PLAYER command, this command 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. |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Our character will perform this special action as well. Executing this opcode is like receiving a SampRpc.ScrSetPlayerSpecialAction from the Server | ||
Our character will perform this special action as well. Executing this opcocommandde is like receiving a SampRpc.ScrSetPlayerSpecialAction from the Server |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
* sliders are scrollable control elements that changes its slider value depending on how much it's been scrolled by the user. But this doesn't mean that the dialog's controls will be repositioned by it. | ||
* a slider's value can be retrieved using Opcode 0B97. | ||
* a slider's value can be manually manipulated using Opcode 0B98. | ||
* a slider's value can be retrieved using SF_DXUT_DIALOG_GET_SLIDER_VALUE. | ||
* a slider's value can be manually manipulated using SF_DXUT_DIALOG_SET_SLIDER_VALUE. | ||
* id must be unique to all elements of this DXUTDialog, else SF won't be able to interact with all old elements with the same id. | ||
* relcoordx, relcoordx, width, height are window screen values. | ||
* relcoordx, relcoordx are relative to the coordinates of the DXUTDialog. |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
* For more info about fontname and flags, read Font API's by Microsoft. | ||
* RenderFont objects created by this command allocates memory and needs to be manually destroyed by Opcode 0B6E if not used anymore to free it from memory. | ||
* RenderFont objects created by this command allocates memory and needs to be manually destroyed by SF_RENDER_DELETE_FONT if not used anymore to free it from memory. |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
* filepath accepts cleo5 relative path keywords like "cleo:\<filepath>" or "root:\<filepath>" | ||
* RenderTexture Objects created by this command requires manual cleanup when not used anymore. Use Opcode 0B72 to do so. | ||
* RenderTexture Objects created by this command requires manual cleanup when not used anymore. Use SF_RENDER_RELEASE_TEXTURE to do so. | ||
* Can be used as a condition which evaluates as true if the texture has been loaded successfully. |