public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_SPRINT)
{
if(Anim[playerid] == 1);
{
ClearAnimations(playerid);
Anim[playerid] = 0;
}
return 1;
}
Errors: betrifft alles Zeile 5
C:\Users\Daniel Wayne\Desktop\server\gamemodes\daniel.pwn(203) : error 017: undefined symbol "Anim"
C:\Users\Daniel Wayne\Desktop\server\gamemodes\daniel.pwn(203) : warning 215: expression has no effect
C:\Users\Daniel Wayne\Desktop\server\gamemodes\daniel.pwn(203) : error 001: expected token: ";", but found "]"
C:\Users\Daniel Wayne\Desktop\server\gamemodes\daniel.pwn(203) : error 029: invalid expression, assumed zero
C:\Users\Daniel Wayne\Desktop\server\gamemodes\daniel.pwn(203) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.