24.12.2014, 16:44
Alguem ajuda? nгo sei de onde vem esse error ...
pawn Код:
if (strcmp(cmd, "/animball", true) == 0)
{
tmp = strtok(cmdtext, idx);
if (!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "USE: /animball [1-11]");
return 1;
}
animationplayed = strval(tmp);
if (animationplayed < 1 || animationplayed > 11)
{
SendClientMessage(playerid, COLOR_WHITE, "USE: /animball [1-11]");
return 1;
}
if (animationplayed == 1)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_1", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 2)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_2", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 3)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_2", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 4)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_4", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 5)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_block", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 6)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_Hit_1", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 7)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_Hit_2", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 8)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_Hit_3", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 9)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_IDLE", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 10)
{
ApplyAnimation(playerid, "BASEBALL", "Bat_M", 4.1, 0, 1, 1, 1, 1);
}
else if (animationplayed == 11)
{
ApplyAnimation(playerid, "BASEBALL", "BAT_PART", 4.1, 0, 1, 1, 1, 1);
}
return 1;
} //erro aqui linha 42999
Quote:
C:\Documents and Settings\123\Desktop\Nova pasta\gamemodes\123.pwn(42999) : error 075: input line too long (after substitutions) |