public OnPlayerSpawn( playerid )
{
SetPlayerSpecialAction ( playerid , SPECIAL_ACTION_DANCE3 );
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED( KEY_FIRE | KEY_SPRINT | KEY_JUMP ))
{
ClearAnimations(playerid);
}
return 1;
}
if (PRESSED( KEY_FIRE || KEY_SPRINT || KEY_JUMP ))
if (PRESSED( KEY_JUMP ))
Probáld így akkor most jó:minek?mikor lespawnol,pl a spawn gombra rámegy,eltelézik,és az anim eltünik.
if (PRESSED( KEY_JUMP ))