memset tag mismatch
#2

You should recheck which parameter caused the tag mistake
I think it is the first and not the third, try that (_: to untag the variable / array)
PHP код:
memset(_MDC_g_sPlayer[playerid][E_MDC_TEXTDRAW], MDC_TEXTDRAW_SIZE, -1); 
Also I am pretty sure that you aren't using raw_memset in your code, you could combine them in one function to remove the function overhead and shift the opcodes around to remove the variable
PHP код:
stock memset(address[], cellsvalue) {
    
#emit LCTRL       6
    #emit MOVE.alt
    #emit LCTRL       0
    #emit ADD
    #emit MOVE.alt
    #emit LCTRL       1
    #emit SUB.alt
    #emit ADD.C       92
    #emit LOAD.S.alt  address
    #emit STOR.S.pri  address
    #emit LOAD.S.pri  cells
    #emit SHL.C.pri   2
    #emit SREF.S.pri  address
    #emit LOAD.S.pri  value
    #emit FILL        0

Reply


Messages In This Thread
memset tag mismatch - by Riwerry - 13.06.2017, 13:17
Re: memset tag mismatch - by Nero_3D - 13.06.2017, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)