Dann ist wahrscheinlich Num[0] false/0.
Ich habe ein Problem:
if(HIT_KeyUp[playerid]) {
if(PRESSED(KEY_SPRINT)) {
if(GetPVarInt(playerid, "pInjuredTime") > gettime() && GetPVarInt(playerid, "pInjuredLeg") && HIT_PlayerPlaysAnimation[playerid] == false) {
ApplyAnimation(playerid, "ped", "run_civi", 4.0, 1, 1, 1, 1, 1);
SendClientMessageToAll(-1, "sd");
HIT_PlayerPlaysAnimation[playerid] = true;
} else if(GetPVarInt(playerid, "pInjuredTime") < gettime()) {
SetPVarInt(playerid, "pInjuredTime", 0);
SetPVarInt(playerid, "pInjuredLeg", 0);
}
}
}
Also, alles klappt bis auf die Animation, "sd" wird auch gesendet, weiß einer bescheid?