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
../../modules/Network/vendor/RakNet/BitStream.cpp:1189:19: error: no matching function for call to 'begin' | |
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData); | |
^~~~~~~~~~ | |
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:89:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *' | |
begin(initializer_list<_Tp> __ils) noexcept | |
^ | |
../../modules/Network/vendor/RakNet/BitStream.cpp:1189:48: error: no matching function for call to 'end' | |
std::copy(std::begin(other.stackData), std::end(other.stackData), this->stackData); | |
^~~~~~~~ | |
/usr/sbin/../lib64/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../include/c++/6.3.1/initializer_list:99:5: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'unsigned char *' |
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
#!/usr/bin/bash | |
# | |
# makepkg - make packages compatible for use with pacman | |
# Generated from makepkg.sh.in; do not edit by hand. | |
# | |
# Copyright (c) 2006-2014 Pacman Development Team <pacman-dev@archlinux.org> | |
# Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org> | |
# Copyright (c) 2005 by Aurelien Foret <orelien@chez.com> | |
# Copyright (c) 2006 by Miklos Vajna <vmiklos@frugalware.org> | |
# Copyright (c) 2005 by Christian Hamar <krics@linuxforum.hu> |
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
diff --git a/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp b/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp | |
index 97e587d..24e0e4e 100644 | |
--- a/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp | |
+++ b/MTA10_Server/mods/deathmatch/logic/CStaticFunctionDefinitions.cpp | |
@@ -7834,7 +7834,7 @@ CBlip* CStaticFunctionDefinitions::CreateBlipAttachedTo ( CResource* pResource, | |
// Valid icon and size? | |
if ( CBlipManager::IsValidIcon ( ucIcon ) && ucSize <= 25 ) | |
{ | |
- CBlip* pBlip = m_pBlipManager->Create ( m_pMapManager->GetRootElement () ); | |
+ CBlip* pBlip = m_pBlipManager->Create ( pResource->GetDynamicElementRoot () ); |
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
-- Developer: sbx320 | |
-- License: MIT | |
-- Github Repos: https://github.com/sbx320/lua_utils | |
--// classlib | |
--|| A library providing several tools to enhance OOP with MTA and Lua | |
--\\ | |
SERVER = triggerServerEvent == nil | |
CLIENT = not SERVER | |
DEBUG = DEBUG or 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
-- Magic to allow MTA elements to be used as data storage | |
-- e.g. localPlayer.foo = 12 | |
oop = {} | |
oop.mta_metatable = {} | |
oop.elementInfo = setmetatable({}, { __mode = "k" }) | |
oop.getMTATypeMetatable = function(t) | |
local element = false | |
if t == "player" then return debug.getmetatable(localPlayer or getRandomPlayer()) |