SA-MP Forums Archive
[Ajuda] Pq ta dando erro de identaзгo? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Pq ta dando erro de identaзгo? (/showthread.php?tid=588303)



Pq ta dando erro de identaзгo? - warriorfrog - 07.09.2015

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.php?tid=157789
#define COLOR_WHITE 0xFFFFFFAA



Re: Pq ta dando erro de identaзгo? - DarthVeider - 07.09.2015

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



Re: Pq ta dando erro de identaзгo? - PT - 07.09.2015

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



Re: Pq ta dando erro de identaзгo? - warriorfrog - 07.09.2015

Vlw gente +REP