diff --git a/readme.md b/readme.md index f218845..465c10e 100644 --- a/readme.md +++ b/readme.md @@ -38,7 +38,8 @@ then you can run the command below to build ``` cd SKY mkdir build && cd build -cmake.exe ../ +cmake -G "Visual Studio 15 2017" ../ +cmake --build . --config Release ``` or you can open the source in Visual Studio, where it will autodetect that it uses CMake, and will @@ -46,8 +47,6 @@ build a cache ready to be built ## Credits -# Contributors - - Slice (SKY Creator) - Kurta999 (Previous YSF Maintainer) - Y_Less (The original YSF Creator) @@ -57,3 +56,4 @@ build a cache ready to be built - Alanskz/J0sh (Packet/Network/Sync Patches) - NickDodd25 (Code Cleanup) - JustMichael/ADRFranklin (Maintainer) + diff --git a/src/Scripting.cpp b/src/Scripting.cpp index 72178de..2150a81 100644 --- a/src/Scripting.cpp +++ b/src/Scripting.cpp @@ -365,7 +365,7 @@ static cell AMX_NATIVE_CALL FreezeSyncData(AMX *amx, cell *params) // native FreezeSyncPacket(playerid, E_SYNC_TYPES:type = E_PLAYER_SYNC, bool:toggle) static cell AMX_NATIVE_CALL FreezeSyncPacket(AMX *amx, cell *params) { - CHECK_PARAMS(3, "FreezeSyncData"); + CHECK_PARAMS(3, "FreezeSyncPacket"); return Versions::getNetGame([params](auto netGame, auto structs) { using Structs = decltype(structs);