if(strcmp("/fixcar", cmdtext, true, 10) == 0)//Der CMD
{
if (!strlen(cmdtext[8])) return SendClientMessage(playerid,0xEFEFF7AA,"[Error]Tippe: /fixcar [1-9]");//Die "8" bedeutet das man 8 Zeichen eingeben muss!Sprich nicht /fixcar 99 sondern /fixcar 9
switch (cmdtext[8])
{
case '1': ApplyAnimation(playerid,"CAR", "Fixn_Car_Loop", 4.0, 1, 0, 0, 0, 0);//Fixcar 1
case '2': ApplyAnimation(playerid,"CAR", "Fixn_Car_Out", 4.0, 1, 0, 0, 0, 0);//Fixcar 2
case '3': ApplyAnimation(playerid,"CAR","flag_drop", 4.0, 1, 0, 0, 0, 0);//Fixcar 3
case '4': ApplyAnimation(playerid,"CAR","Tap_hand", 4.0, 1, 0, 0, 0, 0);//Fixcar 4
case '5': ApplyAnimation(playerid,"CAR","Tyd2car_bump", 4.0, 1, 0, 0, 0, 0);//Fixcar 5
case '6': ApplyAnimation(playerid,"CAR","Tyd2car_high", 4.0, 1, 0, 0, 0, 0);//Fixcar 6
case '7': ApplyAnimation(playerid,"CAR","Tyd2car_low", 4.0, 1, 0, 0, 0, 0);//Fixcar 7
case '8': ApplyAnimation(playerid,"CAR","Tyd2car_med", 4.0, 1, 0, 0, 0, 0);//Fixcar 8
case '9': ApplyAnimation(playerid,"CAR","Tyd2car_TurnL", 4.0, 1, 0, 0, 0, 0);//Fixcar 9
default: SendClientMessage(playerid,0xEFEFF7AA,"[Error]Tipe: /fixcar [1-9]");//Wenn der Spieler über 8 oder unter 0 eintippt kommt dieser Text!
}
return 1;
}
was ist da fahlsch habe auch 0,3c