case 51:
{
if(vanbenzin[playerid] == 0)
{
new kocsiid = GetPlayerVehicleID(playerid);
if(IsTrailerAttachedToVehicle(kocsiid == 81 || 82 || 83 || 84 || 85))
{
SetTimer(\"BenzinTimer\", 4000, 0);
GameTextForPlayer(playerid, \"~w~ppen megtltik a tartlyt\", 2000, 1);
TogglePlayerControllable(playerid, 0);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, \"Elöbb akaszd fel a pótkocsit!\");
}
}
else
{
new kocsiid = GetPlayerVehicleID(playerid);
if(IsTrailerAttachedToVehicle(kocsiid == 81 || 82 || 83 || 84 || 85))
{
SetTimer(\"BenzinTimer\", 4000, 0);
GameTextForPlayer(playerid, \"~w~ppen csapoljk le a tartlyt\", 2000, 1);
TogglePlayerControllable(playerid, 0);
}
}
}
Ha fent van a pótkocsi akkor is azt írja ki hogy elõbb akaszd fel a pótkocsit. Mi a hiba?