Список опкодов, имеющих отличия от оригинальных. Описания изменений доступны по ссылкам.
Опкод | Функция |
---|---|
0AF8 | sampAddChatMessage(string text, int color) |
0AF9 | sampSendChat(string text) |
0B78 | sampfuncsLog(string msg) |
0B34 | bool result = sampRegisterChatCommand(string cmd, function func) |
0C63 | bool result = sampfuncsRegisterConsoleCommand(string cmd, function func) |
0B63 | bool result = sampUnregisterChatCommand(string cmd) |
0C64 | bool result = sampfuncsUnregisterConsoleCommand(string cmd) |
0B4C | bool result = sampIsDialogActive() |
0B40 | raknetBitStreamWriteBool(bitstream bs, bool value) |
0B40 | raknetBitStreamWriteInt8(bitstream bs, int value) |
0B40 | raknetBitStreamWriteInt16(bitstream bs, int value) |
0B40 | raknetBitStreamWriteInt32(bitstream bs, int value) |
0B40 | raknetBitStreamWriteFloat(bitstream bs, float value) |
0B40 | raknetBitStreamWriteBuffer(bitstream bs, int dest, int size) |
0B40 | raknetBitStreamWriteBitStream(bitstream bs, bitstream bitstream) |
0B40 | raknetBitStreamWriteString(bitstream bs, string str) |
0BE7 | bool value = raknetBitStreamReadBool(bitstream bs) |
0BE7 | int value = raknetBitStreamReadInt8(bitstream bs) |
0BE7 | int value = raknetBitStreamReadInt16(bitstream bs) |
0BE7 | int value = raknetBitStreamReadInt32(bitstream bs) |
0BE7 | float value = raknetBitStreamReadFloat(bitstream bs) |
0BE8 | raknetBitStreamReadBuffer(bitstream bs, int dest, int size) |
0BE8 | string value = raknetBitStreamReadString(bitstream bs, int size) |
038F | int id = loadSprite(string name) |
0390 | bool result = loadTextureDictionary(string txd) |
033E | displayText(float posX, float posY, gxtstring gxtString) |
038D | drawSprite(int texture, float positionX, float positionY, float width, float height, int r, int g, int b, int a) |
038E | drawRect(float positionX, float positionY, float width, float height, int r, int g, int b, int a) |
045A | displayTextWithNumber(float x, float y, gxtstring gxtString, int number) |
045B | displayTextWith2Numbers(float x, float y, gxtstring gxtString, int numbersX, int numbersY) |
074B | drawSpriteWithRotation(int texture, float x, float y, float scaleX, float scaleY, float angle, int r, int g, int b, int a) |
07FC | displayTextWithFloat(float X, float Y, gxtstring GXT, float value, int flag) |
0937 | drawWindow(float cornerAX, float cornerAY, float cornerBX, float cornerBY, gxtstring gxtString, int style) |
0BFF | bool result, table colPoint = processLineOfSight(float originX, float originY, float originZ, float targetX, float targetY, float targetZ, bool checkSolid, bool car, bool ped, bool object, bool particle, bool shotThrough, bool ignoreSomeObjects) |