[Ajuda] Pq ta dando erro de identaзгo?
#1

Uй nem ta identado, pq ta dando erro nessa linha de identaзгo:

Код:
#else
Код:
// render actor
stock strcpy(dest[], const source[], maxlength=sizeof dest)
{
    strcat((dest[0] = EOS, dest), source, maxlength);
}
new currentActorAnim[MAX_ACTORS][24];
stock ApplyActorAnimationEx(actorid, lib[], anim[], Float:fDelta, loop, lockx, locky, freeze, time)
{
    strcpy(currentActorAnim[actorid], anim);
    return ApplyActorAnimation(actorid, lib, anim, fDelta, loop, lockx, locky, freeze, time);
}

#if defined _ALS_ApplyActorAnimation
#undef ApplyActorAnimation
#else // warning 217: loose indentation
#define _ALS_ApplyActorAnimation
#endif
#define ApplyActorAnimation ApplyActorAnimationEx  

// cores: https://sampforum.blast.hk/showthread.ph...049#define COLOR_WHITE 0xFFFFFFAA
Reply
#2

Tenta Assim

pawn Код:
// render actor
stock strcpy(dest[], const source[], maxlength=sizeof dest)
{
    strcat((dest[0] = EOS, dest), source, maxlength);
}
new currentActorAnim[MAX_ACTORS][24];
stock ApplyActorAnimationEx(actorid, lib[], anim[], Float:fDelta, loop, lockx, locky, freeze, time)
{
    strcpy(currentActorAnim[actorid], anim);
    return ApplyActorAnimation(actorid, lib, anim, fDelta, loop, lockx, locky, freeze, time);
}

#if defined _ALS_ApplyActorAnimation
#undef ApplyActorAnimation
#else // warning 217: loose indentation
#define _ALS_ApplyActorAnimation
#define ApplyActorAnimation ApplyActorAnimationEx  
#endif

// cores: https://sampforum.blast.hk/showthread.php?tid=157789
#define COLOR_WHITE 0xFFFFFFAA
Reply
#3

PHP код:
#if defined _ALS_ApplyActorAnimation
    #undef ApplyActorAnimation
#else // warning 217: loose indentation
    #define _ALS_ApplyActorAnimation
#endif
#define ApplyActorAnimation ApplyActorAnimationEx 
Reply
#4

Vlw gente +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)