new bool:klauen; forward KannWiederKlauen(playerid); if(strcmp(cmd, "/theftcar", true) == 0) { if(IsPlayerInAnyVehicle(playerid) && klauen == false) { if(IsPlayerConnected(playerid)) { new Vehicle = GetPlayerVehicleID(playerid); if(MotorAN[Vehicle] == 0) { new string[256]; GameTextForPlayer(playerid,"~n~~n~~n~~n~~n~~n~~n~~g~Du versuchst Aas auto zu Knacken!",3000,3); SetTimerEx("Klauen",2000,0,"i",playerid); SetTimerEx("KannWiederKlauen",180000,0,"i",playerid); klauen = true; } } } } return 1; } public KannWiederKlauen(playerid) return klauen = false;
Kein wunder das der Compiler abstützt!
Da ist ne Klammer zu viel ZU!