View Single Post
ayrton09_arg
Senior Member
Join Date: Nov 2017
Old 10-08-2020 , 16:12   Re: [ANY] Store by Zephyrus [1.1 - 03.01.2016]
Reply With Quote #1862

Quote:
Originally Posted by Oylsister View Post
So far I manage to clean some old stuff that made the plugin won't compile in SM 1.10 here
right now there is a few things that I think it will need to be fixed here.

WARNING : I ONLY TRY TO MAKE SOURCE CODE COMPILABLE WITH SM 1.10 THERE IS NO GUARANTEE THAT IT WILL WORK.


01.
Code:
// store.sp(886) : warning 229: index tag mismatch (symbol "g_eItems")
PHP Code:
SetNativeArray(2_:g_eItems[GetNativeCell(1)], sizeof(g_eItems[])); 
02.
Code:
// store.sp(891) : warning 229: index tag mismatch (symbol "g_eTypeHandlers")
PHP Code:
SetNativeArray(2_:g_eTypeHandlers[GetNativeCell(1)], sizeof(g_eTypeHandlers[])); 
03.
Code:
// store.sp(903) : warning 229: index tag mismatch (symbol "g_eClientItems")
PHP Code:
SetNativeArray(3_:g_eClientItems[client][uid], sizeof(g_eClientItems[][])); 
04.
Code:
// store.sp(2073) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
PHP Code:
new Function:fnMenuCallback view_as<Function>(StringToInt(m_szCallback[m_iPos+1])); 
I put those file in case if you know how to fix it or want to test it.

There is nothing wrong with store-trade.sp and thirdperson.sp here. you can use the same config and translation file from the original one.
nice thank you!
ayrton09_arg is offline